diff options
Diffstat (limited to 'test/torture-s/20120615-1.c.s')
-rw-r--r-- | test/torture-s/20120615-1.c.s | 11 |
1 files changed, 7 insertions, 4 deletions
diff --git a/test/torture-s/20120615-1.c.s b/test/torture-s/20120615-1.c.s index 75e25210b..9a1720cfc 100644 --- a/test/torture-s/20120615-1.c.s +++ b/test/torture-s/20120615-1.c.s @@ -7,10 +7,10 @@ test1: # @test1 .param i32 # BB#0: # %entry - block .LBB0_3 + block i32.const $push0=, 17 i32.gt_u $push1=, $0, $pop0 - br_if $pop1, .LBB0_3 + br_if $pop1, 0 # 0: down to label0 # BB#1: # %entry i32.const $push2=, 1 i32.shl $push3=, $pop2, $0 @@ -18,12 +18,14 @@ test1: # @test1 i32.and $push5=, $pop3, $pop4 i32.const $push6=, 0 i32.eq $push7=, $pop5, $pop6 - br_if $pop7, .LBB0_3 + br_if $pop7, 0 # 0: down to label0 # BB#2: # %if.end6 return .LBB0_3: # %if.end5 + end_block # label0: call abort@FUNCTION unreachable + .endfunc .Lfunc_end0: .size test1, .Lfunc_end0-test1 @@ -38,9 +40,10 @@ main: # @main call test1@FUNCTION, $pop0 i32.const $push1=, 0 return $pop1 + .endfunc .Lfunc_end1: .size main, .Lfunc_end1-main - .ident "clang version 3.8.0 " + .ident "clang version 3.9.0 " .section ".note.GNU-stack","",@progbits |