diff --git a/nac3core/src/codegen/expr.rs b/nac3core/src/codegen/expr.rs index 964c88b3..ff4a1292 100644 --- a/nac3core/src/codegen/expr.rs +++ b/nac3core/src/codegen/expr.rs @@ -460,7 +460,7 @@ impl<'ctx, 'a> CodeGenContext<'ctx, 'a> { let i1_true = i1.const_all_ones(); let expect_fun = self.module.get_function("llvm.expect.i1").unwrap_or_else(|| { self.module.add_function( - "llvm.expect", + "llvm.expect.i1", i1.fn_type(&[i1.into(), i1.into()], false), None, )