diff options
Diffstat (limited to 'test/torture-s/divconst-2.c.s')
-rw-r--r-- | test/torture-s/divconst-2.c.s | 15 |
1 files changed, 10 insertions, 5 deletions
diff --git a/test/torture-s/divconst-2.c.s b/test/torture-s/divconst-2.c.s index ee6d1e6ad..3513c4c54 100644 --- a/test/torture-s/divconst-2.c.s +++ b/test/torture-s/divconst-2.c.s @@ -11,6 +11,7 @@ f: # @f i32.const $push0=, -2147483648 i32.eq $push1=, $0, $pop0 return $pop1 + .endfunc .Lfunc_end0: .size f, .Lfunc_end0-f @@ -34,6 +35,7 @@ r: # @r i32.shl $push7=, $pop6, $1 i32.sub $push8=, $0, $pop7 return $pop8 + .endfunc .Lfunc_end1: .size r, .Lfunc_end1-r @@ -50,6 +52,7 @@ std_eqn: # @std_eqn i32.add $push2=, $pop1, $3 i32.eq $push3=, $pop2, $0 return $pop3 + .endfunc .Lfunc_end2: .size std_eqn, .Lfunc_end2-std_eqn @@ -66,7 +69,7 @@ main: # @main i32.const $3=, 31 i32.const $4=, 1 i32.const $2=, -2147483648 - block .LBB3_4 + block i32.eq $push0=, $1, $2 i32.shl $push8=, $pop0, $3 i32.shr_s $push1=, $1, $3 @@ -78,7 +81,7 @@ main: # @main i32.sub $push7=, $1, $pop6 i32.add $push9=, $pop8, $pop7 i32.ne $push10=, $pop9, $1 - br_if $pop10, .LBB3_4 + br_if $pop10, 0 # 0: down to label0 # BB#1: # %for.cond i32.load $1=, nums+4($0) i32.eq $push11=, $1, $2 @@ -92,7 +95,7 @@ main: # @main i32.sub $push18=, $1, $pop17 i32.add $push20=, $pop19, $pop18 i32.ne $push21=, $pop20, $1 - br_if $pop21, .LBB3_4 + br_if $pop21, 0 # 0: down to label0 # BB#2: # %for.cond.1 i32.load $1=, nums+8($0) i32.eq $push22=, $1, $2 @@ -106,13 +109,15 @@ main: # @main i32.sub $push29=, $1, $pop28 i32.add $push31=, $pop30, $pop29 i32.ne $push32=, $pop31, $1 - br_if $pop32, .LBB3_4 + br_if $pop32, 0 # 0: down to label0 # BB#3: # %for.cond.2 call exit@FUNCTION, $0 unreachable .LBB3_4: # %if.then + end_block # label0: call abort@FUNCTION unreachable + .endfunc .Lfunc_end3: .size main, .Lfunc_end3-main @@ -128,5 +133,5 @@ nums: .size nums, 12 - .ident "clang version 3.8.0 " + .ident "clang version 3.9.0 " .section ".note.GNU-stack","",@progbits |