diff options
Diffstat (limited to 'test/torture-s/20051110-1.c.s')
-rw-r--r-- | test/torture-s/20051110-1.c.s | 28 |
1 files changed, 17 insertions, 11 deletions
diff --git a/test/torture-s/20051110-1.c.s b/test/torture-s/20051110-1.c.s index 201262037..fc81390b7 100644 --- a/test/torture-s/20051110-1.c.s +++ b/test/torture-s/20051110-1.c.s @@ -13,13 +13,13 @@ add_unwind_adjustsp: # @add_unwind_adjustsp i32.const $push2=, 2 i32.shr_s $0=, $pop1, $pop2 i32.const $2=, bytes - block .LBB0_2 + block i32.const $push10=, 0 i32.eq $push11=, $0, $pop10 - br_if $pop11, .LBB0_2 + br_if $pop11, 0 # 0: down to label0 .LBB0_1: # %while.body # =>This Inner Loop Header: Depth=1 - loop .LBB0_2 + loop # label1: i32.const $push5=, 7 i32.shr_u $1=, $0, $pop5 i32.const $push6=, 128 @@ -31,9 +31,12 @@ add_unwind_adjustsp: # @add_unwind_adjustsp i32.const $push9=, 1 i32.add $2=, $2, $pop9 copy_local $0=, $1 - br_if $1, .LBB0_1 + br_if $1, 0 # 0: up to label1 .LBB0_2: # %while.end + end_loop # label2: + end_block # label0: return + .endfunc .Lfunc_end0: .size add_unwind_adjustsp, .Lfunc_end0-add_unwind_adjustsp @@ -49,7 +52,7 @@ main: # @main i32.const $2=, bytes .LBB1_1: # %while.body.i # =>This Inner Loop Header: Depth=1 - loop .LBB1_2 + loop # label3: i32.const $1=, 7 i32.shr_u $0=, $3, $1 i32.const $push2=, 128 @@ -61,25 +64,28 @@ main: # @main i32.const $push5=, 1 i32.add $2=, $2, $pop5 copy_local $3=, $0 - br_if $0, .LBB1_1 -.LBB1_2: # %add_unwind_adjustsp.exit + br_if $0, 0 # 0: up to label3 +# BB#2: # %add_unwind_adjustsp.exit + end_loop # label4: i32.const $3=, 0 - block .LBB1_5 + block i32.load8_u $push7=, bytes($3) i32.const $push8=, 136 i32.ne $push9=, $pop7, $pop8 - br_if $pop9, .LBB1_5 + br_if $pop9, 0 # 0: down to label5 # BB#3: # %add_unwind_adjustsp.exit i32.load8_u $push6=, bytes+1($3) i32.const $push10=, 255 i32.and $push11=, $pop6, $pop10 i32.ne $push12=, $pop11, $1 - br_if $pop12, .LBB1_5 + br_if $pop12, 0 # 0: down to label5 # BB#4: # %if.end return $3 .LBB1_5: # %if.then + end_block # label5: call abort@FUNCTION unreachable + .endfunc .Lfunc_end1: .size main, .Lfunc_end1-main @@ -92,5 +98,5 @@ bytes: .size bytes, 5 - .ident "clang version 3.8.0 " + .ident "clang version 3.9.0 " .section ".note.GNU-stack","",@progbits |