diff options
Diffstat (limited to 'test/torture-s/pr54937.c.s')
-rw-r--r-- | test/torture-s/pr54937.c.s | 19 |
1 files changed, 12 insertions, 7 deletions
diff --git a/test/torture-s/pr54937.c.s b/test/torture-s/pr54937.c.s index 9ad342f70..12b7df2af 100644 --- a/test/torture-s/pr54937.c.s +++ b/test/torture-s/pr54937.c.s @@ -10,17 +10,17 @@ t: # @t .local i32, i32 # BB#0: # %entry i32.const $2=, 0 - block .LBB0_4 + block i32.const $push0=, 1 i32.lt_s $push1=, $0, $pop0 - br_if $pop1, .LBB0_4 + br_if $pop1, 0 # 0: down to label0 .LBB0_1: # %for.body # =>This Inner Loop Header: Depth=1 - loop .LBB0_4 - block .LBB0_3 + loop # label1: + block i32.const $push8=, 0 i32.eq $push9=, $2, $pop8 - br_if $pop9, .LBB0_3 + br_if $pop9, 0 # 0: down to label3 # BB#2: # %if.then # in Loop: Header=BB0_1 Depth=1 i32.const $1=, 0 @@ -28,6 +28,7 @@ t: # @t call_indirect $pop2, $1 .LBB0_3: # %if.end # in Loop: Header=BB0_1 Depth=1 + end_block # label3: i32.const $push3=, a i32.add $push4=, $pop3, $2 i32.const $push5=, 0 @@ -36,9 +37,12 @@ t: # @t i32.add $2=, $2, $pop6 i32.const $push7=, -1 i32.add $0=, $0, $pop7 - br_if $0, .LBB0_1 + br_if $0, 0 # 0: up to label1 .LBB0_4: # %for.end + end_loop # label2: + end_block # label0: return $2 + .endfunc .Lfunc_end0: .size t, .Lfunc_end0-t @@ -56,6 +60,7 @@ main: # @main i32.call $discard=, t@FUNCTION, $pop2 call abort@FUNCTION unreachable + .endfunc .Lfunc_end1: .size main, .Lfunc_end1-main @@ -78,5 +83,5 @@ a: .size a, 4 - .ident "clang version 3.8.0 " + .ident "clang version 3.9.0 " .section ".note.GNU-stack","",@progbits |