diff options
Diffstat (limited to 'test/torture-s/pr43560.c.s')
-rw-r--r-- | test/torture-s/pr43560.c.s | 16 |
1 files changed, 10 insertions, 6 deletions
diff --git a/test/torture-s/pr43560.c.s b/test/torture-s/pr43560.c.s index 252bd2fa6..2769274ac 100644 --- a/test/torture-s/pr43560.c.s +++ b/test/torture-s/pr43560.c.s @@ -9,13 +9,13 @@ test: # @test .local i32, i32, i32 # BB#0: # %entry i32.load $3=, 4($0) - block .LBB0_3 + block i32.const $push0=, 2 i32.lt_s $push1=, $3, $pop0 - br_if $pop1, .LBB0_3 + br_if $pop1, 0 # 0: down to label0 .LBB0_1: # %land.rhs # =>This Inner Loop Header: Depth=1 - loop .LBB0_3 + loop # label1: i32.const $push2=, -1 i32.add $3=, $3, $pop2 i32.add $push3=, $0, $3 @@ -24,7 +24,7 @@ test: # @test i32.load8_u $push5=, 0($1) i32.const $push6=, 47 i32.ne $push7=, $pop5, $pop6 - br_if $pop7, .LBB0_3 + br_if $pop7, 1 # 1: down to label2 # BB#2: # %while.body # in Loop: Header=BB0_1 Depth=1 i32.const $push8=, 4 @@ -35,9 +35,12 @@ test: # @test i32.load $3=, 0($2) i32.const $push10=, 1 i32.gt_s $push11=, $3, $pop10 - br_if $pop11, .LBB0_1 + br_if $pop11, 0 # 0: up to label1 .LBB0_3: # %while.end + end_loop # label2: + end_block # label0: return + .endfunc .Lfunc_end0: .size test, .Lfunc_end0-test @@ -55,6 +58,7 @@ main: # @main call test@FUNCTION, $0 i32.const $push0=, 0 return $pop0 + .endfunc .Lfunc_end1: .size main, .Lfunc_end1-main @@ -68,5 +72,5 @@ s: .size s, 20 - .ident "clang version 3.8.0 " + .ident "clang version 3.9.0 " .section ".note.GNU-stack","",@progbits |