diff options
Diffstat (limited to 'test/torture-s/pr49712.c.s')
-rw-r--r-- | test/torture-s/pr49712.c.s | 17 |
1 files changed, 10 insertions, 7 deletions
diff --git a/test/torture-s/pr49712.c.s b/test/torture-s/pr49712.c.s index 35a8447d4..0d1b8516b 100644 --- a/test/torture-s/pr49712.c.s +++ b/test/torture-s/pr49712.c.s @@ -20,15 +20,16 @@ bar: # @bar .local i32 # BB#0: # %entry i32.const $0=, 0 - block .LBB1_2 + block i32.load $push0=, d($0) i32.gt_s $push1=, $pop0, $0 - br_if $pop1, .LBB1_2 + br_if $pop1, 0 # 0: down to label0 # BB#1: # %for.cond4.preheader.preheader i32.store $push2=, e($0), $0 i32.const $push3=, 1 i32.store $discard=, d($pop2), $pop3 .LBB1_2: # %for.end9 + end_block # label0: return $0 .Lfunc_end1: .size bar, .Lfunc_end1-bar @@ -43,29 +44,31 @@ main: # @main # BB#0: # %entry i32.const $2=, 0 i32.store $0=, b($2), $2 - block .LBB2_4 + block i32.load $push0=, c($0) i32.const $push4=, 0 i32.eq $push5=, $pop0, $pop4 - br_if $pop5, .LBB2_4 + br_if $pop5, 0 # 0: down to label1 # BB#1: # %while.body.preheader i32.const $1=, 1 i32.load $push1=, d($0) i32.lt_s $2=, $pop1, $1 .LBB2_2: # %while.body # =>This Inner Loop Header: Depth=1 - loop .LBB2_4 + loop # label2: i32.and $push2=, $2, $1 i32.const $push6=, 0 i32.eq $push7=, $pop2, $pop6 - br_if $pop7, .LBB2_2 + br_if $pop7, 0 # 0: up to label2 # BB#3: # %for.cond4.preheader.preheader.i # in Loop: Header=BB2_2 Depth=1 i32.store $2=, a($0), $0 i32.store $discard=, e($2), $2 i32.store $discard=, d($2), $1 - br .LBB2_2 + br 0 # 0: up to label2 .LBB2_4: # %for.inc.1 + end_loop # label3: + end_block # label1: i32.const $2=, 0 i32.const $push3=, 2 i32.store $discard=, b($2), $pop3 |