diff options
Diffstat (limited to 'test/torture-s/20051215-1.c.s')
-rw-r--r-- | test/torture-s/20051215-1.c.s | 20 |
1 files changed, 12 insertions, 8 deletions
diff --git a/test/torture-s/20051215-1.c.s b/test/torture-s/20051215-1.c.s index 3f2d2be10..5698447ce 100644 --- a/test/torture-s/20051215-1.c.s +++ b/test/torture-s/20051215-1.c.s @@ -11,26 +11,27 @@ foo: # @foo # BB#0: # %entry i32.const $7=, 0 i32.const $3=, 1 - block .LBB0_5 + block i32.lt_s $push0=, $1, $3 - br_if $pop0, .LBB0_5 + br_if $pop0, 0 # 0: down to label0 # BB#1: # %for.body.lr.ph i32.const $5=, 0 copy_local $6=, $5 copy_local $7=, $5 .LBB0_2: # %for.body # =>This Inner Loop Header: Depth=1 - loop .LBB0_5 - block .LBB0_4 + loop # label1: + block i32.const $push6=, 0 i32.eq $push7=, $2, $pop6 - br_if $pop7, .LBB0_4 + br_if $pop7, 0 # 0: down to label3 # BB#3: # %if.then # in Loop: Header=BB0_2 Depth=1 i32.load $push1=, 0($2) i32.mul $6=, $pop1, $5 .LBB0_4: # %if.end # in Loop: Header=BB0_2 Depth=1 + end_block # label3: i32.const $4=, 0 i32.gt_s $push2=, $0, $4 i32.mul $push3=, $6, $0 @@ -38,8 +39,10 @@ foo: # @foo i32.add $7=, $7, $pop4 i32.add $5=, $5, $3 i32.ne $push5=, $1, $5 - br_if $pop5, .LBB0_2 + br_if $pop5, 0 # 0: up to label1 .LBB0_5: # %for.end6 + end_loop # label2: + end_block # label0: return $7 .Lfunc_end0: .size foo, .Lfunc_end0-foo @@ -53,14 +56,15 @@ main: # @main .local i32 # BB#0: # %entry i32.const $0=, 0 - block .LBB1_2 + block i32.const $push1=, 3 i32.const $push0=, 2 i32.call $push2=, foo@FUNCTION, $pop1, $pop0, $0 - br_if $pop2, .LBB1_2 + br_if $pop2, 0 # 0: down to label4 # BB#1: # %if.end return $0 .LBB1_2: # %if.then + end_block # label4: call abort@FUNCTION unreachable .Lfunc_end1: |