diff options
Diffstat (limited to 'test/torture-s/960909-1.c.s')
-rw-r--r-- | test/torture-s/960909-1.c.s | 22 |
1 files changed, 14 insertions, 8 deletions
diff --git a/test/torture-s/960909-1.c.s b/test/torture-s/960909-1.c.s index 5254e8bb7..262be6023 100644 --- a/test/torture-s/960909-1.c.s +++ b/test/torture-s/960909-1.c.s @@ -10,27 +10,30 @@ ffs: # @ffs .local i32, i32, i32 # BB#0: # %entry i32.const $3=, 0 - block .LBB0_3 + block i32.const $push2=, 0 i32.eq $push3=, $0, $pop2 - br_if $pop3, .LBB0_3 + br_if $pop3, 0 # 0: down to label0 # BB#1: # %for.cond.preheader i32.const $1=, 1 copy_local $2=, $1 copy_local $3=, $1 i32.and $push0=, $0, $1 - br_if $pop0, .LBB0_3 + br_if $pop0, 0 # 0: down to label0 .LBB0_2: # %for.inc # =>This Inner Loop Header: Depth=1 - loop .LBB0_3 + loop # label1: i32.add $3=, $3, $1 i32.shl $2=, $2, $1 i32.and $push1=, $2, $0 i32.const $push4=, 0 i32.eq $push5=, $pop1, $pop4 - br_if $pop5, .LBB0_2 + br_if $pop5, 0 # 0: up to label1 .LBB0_3: # %cleanup + end_loop # label2: + end_block # label0: return $3 + .endfunc .Lfunc_end0: .size ffs, .Lfunc_end0-ffs @@ -42,15 +45,17 @@ f: # @f .param i32 .result i32 # BB#0: # %entry - block .LBB1_2 + block i32.const $push0=, 0 i32.eq $push1=, $0, $pop0 - br_if $pop1, .LBB1_2 + br_if $pop1, 0 # 0: down to label3 # BB#1: # %if.end return $0 .LBB1_2: # %if.then + end_block # label3: call abort@FUNCTION unreachable + .endfunc .Lfunc_end1: .size f, .Lfunc_end1-f @@ -64,9 +69,10 @@ main: # @main i32.const $push0=, 0 call exit@FUNCTION, $pop0 unreachable + .endfunc .Lfunc_end2: .size main, .Lfunc_end2-main - .ident "clang version 3.8.0 " + .ident "clang version 3.9.0 " .section ".note.GNU-stack","",@progbits |