diff options
Diffstat (limited to 'test/torture-s/20020227-1.c.s')
-rw-r--r-- | test/torture-s/20020227-1.c.s | 14 |
1 files changed, 9 insertions, 5 deletions
diff --git a/test/torture-s/20020227-1.c.s b/test/torture-s/20020227-1.c.s index 9122cc865..ec93c659f 100644 --- a/test/torture-s/20020227-1.c.s +++ b/test/torture-s/20020227-1.c.s @@ -10,6 +10,7 @@ main: # @main i32.const $push0=, 0 call exit@FUNCTION, $pop0 unreachable + .endfunc .Lfunc_end0: .size main, .Lfunc_end0-main @@ -20,6 +21,7 @@ main: # @main f1: # @f1 # BB#0: # %f2.exit return + .endfunc .Lfunc_end1: .size f1, .Lfunc_end1-f1 @@ -33,7 +35,7 @@ f2: # @f2 # BB#0: # %entry i32.const $1=, 8 i32.const $2=, 16 - block .LBB2_4 + block i32.const $push1=, 4 i32.add $push2=, $0, $pop1 i32.load8_u $push3=, 0($pop2) @@ -53,7 +55,7 @@ f2: # @f2 f32.reinterpret/i32 $push17=, $pop16 f32.const $push35=, 0x1p0 f32.ne $push36=, $pop17, $pop35 - br_if $pop36, .LBB2_4 + br_if $pop36, 0 # 0: down to label0 # BB#1: # %entry i32.add $push26=, $0, $1 i32.load8_u $push27=, 0($pop26) @@ -75,20 +77,22 @@ f2: # @f2 f32.reinterpret/i32 $push0=, $pop34 f32.const $push37=, 0x0p0 f32.ne $push38=, $pop0, $pop37 - br_if $pop38, .LBB2_4 + br_if $pop38, 0 # 0: down to label0 # BB#2: # %lor.lhs.false i32.load8_u $push39=, 0($0) i32.const $push40=, 42 i32.ne $push41=, $pop39, $pop40 - br_if $pop41, .LBB2_4 + br_if $pop41, 0 # 0: down to label0 # BB#3: # %if.end return .LBB2_4: # %if.then + end_block # label0: call abort@FUNCTION unreachable + .endfunc .Lfunc_end2: .size f2, .Lfunc_end2-f2 - .ident "clang version 3.8.0 " + .ident "clang version 3.9.0 " .section ".note.GNU-stack","",@progbits |