Skip to content

Commit

Permalink
Fix benchmarks with dead jumps
Browse files Browse the repository at this point in the history
  • Loading branch information
Pat-Lafon committed Sep 9, 2023
1 parent 0596887 commit 00872a7
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 4 deletions.
2 changes: 0 additions & 2 deletions benchmarks/core/bitshift.bril
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,6 @@
.then.0:
v4: int = id x;
ret v4;
jmp .endif.0;
.else.0:
v5: int = id x;
v6: int = id n;
Expand Down Expand Up @@ -37,7 +36,6 @@
.endif.12:
v22: int = id ans;
ret v22;
.endif.0:
}
@mod(a: int, b: int): int {
v0: int = id a;
Expand Down
2 changes: 0 additions & 2 deletions benchmarks/core/fact.bril
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,6 @@
.then.0:
v4: int = const 1;
ret v4;
jmp .endif.0;
.else.0:
v5: int = id a;
v6: int = id a;
Expand All @@ -25,5 +24,4 @@
v9: int = call @fact v8;
v10: int = mul v5 v9;
ret v10;
.endif.0:
}

0 comments on commit 00872a7

Please sign in to comment.