Skip to content

Commit

Permalink
Update compiler/backend_inkwell/src/lib.rs
Browse files Browse the repository at this point in the history
Co-authored-by: Jonas Wanke <[email protected]>
  • Loading branch information
ctiedt and JonasWanke authored Aug 10, 2023
1 parent 65a905c commit daee6f4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion compiler/backend_inkwell/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -264,7 +264,7 @@ impl<'ctx> CodeGen<'ctx> {

for (idx, (id, expr)) in mir.expressions.iter().enumerate() {
match expr {
candy_frontend::mir::Expression::Int(value) => {
Expression::Int(value) => {
let i64_type = self.context.i64_type();
let v = i64_type.const_int(value.try_into().unwrap(), false);

Expand Down

1 comment on commit daee6f4

@jwbot
Copy link
Collaborator

@jwbot jwbot commented on daee6f4 Aug 10, 2023

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Compiler

Benchmark suite Current: daee6f4 Previous: d020a7f Ratio
Time: Compiler/hello_world 15995071 ns/iter (± 738437) 22065801 ns/iter (± 467242) 0.72
Time: Compiler/fibonacci 150912363 ns/iter (± 2671980) 183317952 ns/iter (± 1599966) 0.82
Time: VM Runtime/hello_world 13600 ns/iter (± 947) 17800 ns/iter (± 4091) 0.76
Time: VM Runtime/fibonacci/15 250229284 ns/iter (± 2132003) 309274921 ns/iter (± 2303812) 0.81
Time: VM Runtime/PLB/binarytrees/6 1152441044 ns/iter (± 5815394) 1439774329 ns/iter (± 6155464) 0.80

This comment was automatically generated by workflow using github-action-benchmark.

Please sign in to comment.