diff options
Diffstat (limited to 'test/torture-s/pr57877.c.s')
-rw-r--r-- | test/torture-s/pr57877.c.s | 25 |
1 files changed, 15 insertions, 10 deletions
diff --git a/test/torture-s/pr57877.c.s b/test/torture-s/pr57877.c.s index 2ccf3df29..fbe6b3d4d 100644 --- a/test/torture-s/pr57877.c.s +++ b/test/torture-s/pr57877.c.s @@ -11,14 +11,15 @@ main: # @main i32.const $3=, 0 i32.load $7=, g($3) i32.const $4=, 1 - block .LBB0_5 - block .LBB0_2 + block + block i32.lt_s $push2=, $7, $4 - br_if $pop2, .LBB0_2 + br_if $pop2, 0 # 0: down to label1 # BB#1: # %entry.foo.exit_crit_edge i32.load $6=, e($3) - br .LBB0_5 + br 1 # 1: down to label0 .LBB0_2: # %for.body.lr.ph.i + end_block # label1: i64.load32_s $0=, f($3) i32.load $1=, c($3) i32.load $2=, a($3) @@ -26,7 +27,7 @@ main: # @main i32.add $7=, $7, $pop3 .LBB0_3: # %for.body.i # =>This Inner Loop Header: Depth=1 - loop .LBB0_4 + loop # label2: i32.load $push0=, 0($1) i32.store $5=, h($3), $pop0 i32.const $6=, 16 @@ -41,18 +42,22 @@ main: # @main i32.store $6=, e($3), $pop1 i32.add $7=, $7, $4 i32.lt_s $push10=, $7, $3 - br_if $pop10, .LBB0_3 -.LBB0_4: # %for.cond.for.end_crit_edge.i + br_if $pop10, 0 # 0: up to label2 +# BB#4: # %for.cond.for.end_crit_edge.i + end_loop # label3: i32.store16 $discard=, d($3), $5 .LBB0_5: # %foo.exit - block .LBB0_7 + end_block # label0: + block i32.ne $push11=, $6, $4 - br_if $pop11, .LBB0_7 + br_if $pop11, 0 # 0: down to label4 # BB#6: # %if.end return $3 .LBB0_7: # %if.then + end_block # label4: call abort@FUNCTION unreachable + .endfunc .Lfunc_end0: .size main, .Lfunc_end0-main @@ -129,5 +134,5 @@ d: .size d, 2 - .ident "clang version 3.8.0 " + .ident "clang version 3.9.0 " .section ".note.GNU-stack","",@progbits |