diff options
Diffstat (limited to 'test/torture-s/divcmp-3.c.s')
-rw-r--r-- | test/torture-s/divcmp-3.c.s | 51 |
1 files changed, 7 insertions, 44 deletions
diff --git a/test/torture-s/divcmp-3.c.s b/test/torture-s/divcmp-3.c.s index 7b6162864..2766cb3ed 100644 --- a/test/torture-s/divcmp-3.c.s +++ b/test/torture-s/divcmp-3.c.s @@ -8,11 +8,8 @@ test1: # @test1 .param i32 .result i32 # BB#0: # %entry - i32.const $push0=, -300 - i32.add $push1=, $0, $pop0 - i32.const $push2=, 100 - i32.lt_u $push3=, $pop1, $pop2 - # fallthrough-return: $pop3 + i32.const $push0=, 0 + # fallthrough-return: $pop0 .endfunc .Lfunc_end0: .size test1, .Lfunc_end0-test1 @@ -39,11 +36,8 @@ test2: # @test2 .param i32 .result i32 # BB#0: # %entry - i32.const $push0=, -300 - i32.add $push1=, $0, $pop0 - i32.const $push2=, 99 - i32.gt_u $push3=, $pop1, $pop2 - # fallthrough-return: $pop3 + i32.const $push0=, 1 + # fallthrough-return: $pop0 .endfunc .Lfunc_end2: .size test2, .Lfunc_end2-test2 @@ -180,43 +174,12 @@ test6u: # @test6u .type main,@function main: # @main .result i32 - .local i32, i32 # BB#0: # %entry - i32.const $1=, -128 - i32.const $0=, -2147483648 -.LBB12_1: # %for.body - # =>This Inner Loop Header: Depth=1 - block - loop # label1: - i32.const $push7=, 24 - i32.shr_s $push0=, $0, $pop7 - i32.const $push6=, -300 - i32.add $push1=, $pop0, $pop6 - i32.const $push5=, 99 - i32.le_u $push2=, $pop1, $pop5 - br_if 2, $pop2 # 2: down to label0 -# BB#2: # %for.cond - # in Loop: Header=BB12_1 Depth=1 - i32.const $push12=, 16777216 - i32.add $0=, $0, $pop12 - i32.const $push11=, 1 - i32.add $push10=, $1, $pop11 - tee_local $push9=, $1=, $pop10 - i32.const $push8=, 255 - i32.le_s $push3=, $pop9, $pop8 - br_if 0, $pop3 # 0: up to label1 -# BB#3: # %for.end - end_loop # label2: - i32.const $push4=, 0 - return $pop4 -.LBB12_4: # %if.then - end_block # label0: - call abort@FUNCTION - unreachable + i32.const $push0=, 0 + # fallthrough-return: $pop0 .endfunc .Lfunc_end12: .size main, .Lfunc_end12-main - .ident "clang version 3.9.0 " - .functype abort, void + .ident "clang version 4.0.0 " |