diff options
Diffstat (limited to 'test/torture-s/20010106-1.c.s')
-rw-r--r-- | test/torture-s/20010106-1.c.s | 9 |
1 files changed, 6 insertions, 3 deletions
diff --git a/test/torture-s/20010106-1.c.s b/test/torture-s/20010106-1.c.s index ee4ab68f6..aeaa717de 100644 --- a/test/torture-s/20010106-1.c.s +++ b/test/torture-s/20010106-1.c.s @@ -11,10 +11,10 @@ f: # @f # BB#0: # %entry i32.const $1=, 2 i32.add $0=, $0, $1 - block .LBB0_2 + block i32.const $push0=, 7 i32.ge_u $push1=, $0, $pop0 - br_if $pop1, .LBB0_2 + br_if $pop1, 0 # 0: down to label0 # BB#1: # %switch.lookup i32.const $push3=, .Lswitch.table i32.shl $push2=, $0, $1 @@ -22,8 +22,10 @@ f: # @f i32.load $push5=, 0($pop4) return $pop5 .LBB0_2: # %sw.default + end_block # label0: call abort@FUNCTION unreachable + .endfunc .Lfunc_end0: .size f, .Lfunc_end0-f @@ -37,6 +39,7 @@ main: # @main i32.const $push0=, 0 call exit@FUNCTION, $pop0 unreachable + .endfunc .Lfunc_end1: .size main, .Lfunc_end1-main @@ -54,5 +57,5 @@ main: # @main .size .Lswitch.table, 28 - .ident "clang version 3.8.0 " + .ident "clang version 3.9.0 " .section ".note.GNU-stack","",@progbits |