diff options
Diffstat (limited to 'test/torture-s/divcmp-3.c.s')
-rw-r--r-- | test/torture-s/divcmp-3.c.s | 27 |
1 files changed, 21 insertions, 6 deletions
diff --git a/test/torture-s/divcmp-3.c.s b/test/torture-s/divcmp-3.c.s index 4920dae6c..5eaea7c79 100644 --- a/test/torture-s/divcmp-3.c.s +++ b/test/torture-s/divcmp-3.c.s @@ -13,6 +13,7 @@ test1: # @test1 i32.const $push2=, 100 i32.lt_u $push3=, $pop1, $pop2 return $pop3 + .endfunc .Lfunc_end0: .size test1, .Lfunc_end0-test1 @@ -26,6 +27,7 @@ test1u: # @test1u # BB#0: # %entry i32.const $push0=, 0 return $pop0 + .endfunc .Lfunc_end1: .size test1u, .Lfunc_end1-test1u @@ -42,6 +44,7 @@ test2: # @test2 i32.const $push2=, 99 i32.gt_u $push3=, $pop1, $pop2 return $pop3 + .endfunc .Lfunc_end2: .size test2, .Lfunc_end2-test2 @@ -55,6 +58,7 @@ test2u: # @test2u # BB#0: # %entry i32.const $push0=, 1 return $pop0 + .endfunc .Lfunc_end3: .size test2u, .Lfunc_end3-test2u @@ -68,6 +72,7 @@ test3: # @test3 # BB#0: # %entry i32.const $push0=, 1 return $pop0 + .endfunc .Lfunc_end4: .size test3, .Lfunc_end4-test3 @@ -81,6 +86,7 @@ test3u: # @test3u # BB#0: # %entry i32.const $push0=, 1 return $pop0 + .endfunc .Lfunc_end5: .size test3u, .Lfunc_end5-test3u @@ -94,6 +100,7 @@ test4: # @test4 # BB#0: # %entry i32.const $push0=, 1 return $pop0 + .endfunc .Lfunc_end6: .size test4, .Lfunc_end6-test4 @@ -107,6 +114,7 @@ test4u: # @test4u # BB#0: # %entry i32.const $push0=, 1 return $pop0 + .endfunc .Lfunc_end7: .size test4u, .Lfunc_end7-test4u @@ -120,6 +128,7 @@ test5: # @test5 # BB#0: # %entry i32.const $push0=, 0 return $pop0 + .endfunc .Lfunc_end8: .size test5, .Lfunc_end8-test5 @@ -133,6 +142,7 @@ test5u: # @test5u # BB#0: # %entry i32.const $push0=, 0 return $pop0 + .endfunc .Lfunc_end9: .size test5u, .Lfunc_end9-test5u @@ -146,6 +156,7 @@ test6: # @test6 # BB#0: # %entry i32.const $push0=, 0 return $pop0 + .endfunc .Lfunc_end10: .size test6, .Lfunc_end10-test6 @@ -159,6 +170,7 @@ test6u: # @test6u # BB#0: # %entry i32.const $push0=, 0 return $pop0 + .endfunc .Lfunc_end11: .size test6u, .Lfunc_end11-test6u @@ -174,15 +186,15 @@ main: # @main i32.const $0=, -2147483648 .LBB12_1: # %for.body # =>This Inner Loop Header: Depth=1 - block .LBB12_4 - loop .LBB12_3 + block + loop # label1: i32.const $push0=, 24 i32.shr_s $push1=, $0, $pop0 i32.const $push2=, -300 i32.add $push3=, $pop1, $pop2 i32.const $push5=, 99 i32.le_u $push6=, $pop3, $pop5 - br_if $pop6, .LBB12_4 + br_if $pop6, 2 # 2: down to label0 # BB#2: # %for.cond # in Loop: Header=BB12_1 Depth=1 i32.const $push4=, 1 @@ -191,16 +203,19 @@ main: # @main i32.add $0=, $0, $pop7 i32.const $push8=, 255 i32.le_s $push9=, $1, $pop8 - br_if $pop9, .LBB12_1 -.LBB12_3: # %for.end + br_if $pop9, 0 # 0: up to label1 +# BB#3: # %for.end + end_loop # label2: i32.const $push10=, 0 return $pop10 .LBB12_4: # %if.then + end_block # label0: call abort@FUNCTION unreachable + .endfunc .Lfunc_end12: .size main, .Lfunc_end12-main - .ident "clang version 3.8.0 " + .ident "clang version 3.9.0 " .section ".note.GNU-stack","",@progbits |