From 00872a753503591dc36b8b7cb791228084aac5ae Mon Sep 17 00:00:00 2001 From: Patrick LaFontaine <32135464+Pat-Lafon@users.noreply.github.com> Date: Sat, 9 Sep 2023 11:41:43 -0400 Subject: [PATCH] Fix benchmarks with dead jumps --- benchmarks/core/bitshift.bril | 2 -- benchmarks/core/fact.bril | 2 -- 2 files changed, 4 deletions(-) diff --git a/benchmarks/core/bitshift.bril b/benchmarks/core/bitshift.bril index f7a79defa..c3c35fc82 100644 --- a/benchmarks/core/bitshift.bril +++ b/benchmarks/core/bitshift.bril @@ -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; @@ -37,7 +36,6 @@ .endif.12: v22: int = id ans; ret v22; -.endif.0: } @mod(a: int, b: int): int { v0: int = id a; diff --git a/benchmarks/core/fact.bril b/benchmarks/core/fact.bril index 52f3f2d49..947725523 100644 --- a/benchmarks/core/fact.bril +++ b/benchmarks/core/fact.bril @@ -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; @@ -25,5 +24,4 @@ v9: int = call @fact v8; v10: int = mul v5 v9; ret v10; -.endif.0: }