diff options
Diffstat (limited to 'test/torture-s/loop-8.c.s')
-rw-r--r-- | test/torture-s/loop-8.c.s | 25 |
1 files changed, 15 insertions, 10 deletions
diff --git a/test/torture-s/loop-8.c.s b/test/torture-s/loop-8.c.s index b06384fa2..d5b8ca9da 100644 --- a/test/torture-s/loop-8.c.s +++ b/test/torture-s/loop-8.c.s @@ -7,18 +7,20 @@ bar: # @bar .param i32, i32 # BB#0: # %entry - block .LBB0_3 - br_if $0, .LBB0_3 + block + br_if $0, 0 # 0: down to label0 # BB#1: # %lor.lhs.false f64.load $push0=, 0($1) f64.const $push1=, 0x1p0 f64.ne $push2=, $pop0, $pop1 - br_if $pop2, .LBB0_3 + br_if $pop2, 0 # 0: down to label0 # BB#2: # %if.end return .LBB0_3: # %if.then + end_block # label0: call abort@FUNCTION unreachable + .endfunc .Lfunc_end0: .size bar, .Lfunc_end0-bar @@ -33,9 +35,9 @@ main: # @main i32.const $0=, 0 f64.load $2=, a($0) f64.const $1=, 0x0p0 - block .LBB1_4 + block f64.gt $push0=, $2, $1 - br_if $pop0, .LBB1_4 + br_if $pop0, 0 # 0: down to label1 # BB#1: # %for.cond f64.load $2=, a+8($0) f64.le $push1=, $2, $1 @@ -43,25 +45,28 @@ main: # @main i32.or $push3=, $pop1, $pop2 i32.const $push7=, 0 i32.eq $push8=, $pop3, $pop7 - br_if $pop8, .LBB1_4 + br_if $pop8, 0 # 0: down to label1 # BB#2: # %for.cond.1 f64.load $2=, a+16($0) f64.gt $push4=, $2, $1 - br_if $pop4, .LBB1_4 + br_if $pop4, 0 # 0: down to label1 # BB#3: # %for.cond.2 call abort@FUNCTION unreachable .LBB1_4: # %e - block .LBB1_6 + end_block # label1: + block f64.const $push5=, 0x1p0 f64.eq $push6=, $2, $pop5 - br_if $pop6, .LBB1_6 + br_if $pop6, 0 # 0: down to label2 # BB#5: # %if.then.i call abort@FUNCTION unreachable .LBB1_6: # %bar.exit4 + end_block # label2: call exit@FUNCTION, $0 unreachable + .endfunc .Lfunc_end1: .size main, .Lfunc_end1-main @@ -77,5 +82,5 @@ a: .size a, 24 - .ident "clang version 3.8.0 " + .ident "clang version 3.9.0 " .section ".note.GNU-stack","",@progbits |