diff options
Diffstat (limited to 'test/torture-s/pr47337.c.s')
-rw-r--r-- | test/torture-s/pr47337.c.s | 12 |
1 files changed, 7 insertions, 5 deletions
diff --git a/test/torture-s/pr47337.c.s b/test/torture-s/pr47337.c.s index 687d2671d..f7506fdb4 100644 --- a/test/torture-s/pr47337.c.s +++ b/test/torture-s/pr47337.c.s @@ -15,7 +15,7 @@ main: # @main i32.const $4=, -1024 .LBB0_1: # %for.cond2.preheader # =>This Inner Loop Header: Depth=1 - loop .LBB0_2 + loop # label0: i32.const $2=, a i32.add $push2=, $2, $4 i32.const $push3=, 1024 @@ -24,13 +24,14 @@ main: # @main i32.store $3=, 0($pop4), $pop5 i32.const $push6=, 4 i32.add $4=, $4, $pop6 - br_if $4, .LBB0_1 -.LBB0_2: # %for.cond7.preheader + br_if $4, 0 # 0: up to label0 +# BB#2: # %for.cond7.preheader + end_loop # label1: i32.store $discard=, d($1), $1 - block .LBB0_4 + block i32.const $push40=, 0 i32.eq $push41=, $0, $pop40 - br_if $pop41, .LBB0_4 + br_if $pop41, 0 # 0: down to label2 # BB#3: # %fnx.exit i32.const $4=, 2 i32.load $push7=, b($1) @@ -68,6 +69,7 @@ main: # @main i32.load $push39=, 0($pop38) i32.store $discard=, b($1), $pop39 .LBB0_4: # %if.end25 + end_block # label2: return $1 .Lfunc_end0: .size main, .Lfunc_end0-main |