diff options
Diffstat (limited to 'test/torture-s/loop-3.c.s')
-rw-r--r-- | test/torture-s/loop-3.c.s | 10 |
1 files changed, 7 insertions, 3 deletions
diff --git a/test/torture-s/loop-3.c.s b/test/torture-s/loop-3.c.s index 8c8b08b3e..0fbd070c2 100644 --- a/test/torture-s/loop-3.c.s +++ b/test/torture-s/loop-3.c.s @@ -15,6 +15,7 @@ g: # @g i32.add $push2=, $pop0, $pop1 i32.store $discard=, n($1), $pop2 return $1 + .endfunc .Lfunc_end0: .size g, .Lfunc_end0-g @@ -40,6 +41,7 @@ f: # @f i32.add $push8=, $pop6, $pop7 i32.store $discard=, n($1), $pop8 return $0 + .endfunc .Lfunc_end1: .size f, .Lfunc_end1-f @@ -53,17 +55,19 @@ main: # @main # BB#0: # %entry i32.const $0=, 0 i32.load $1=, n($0) - block .LBB2_2 + block i32.const $push0=, 4 i32.add $push1=, $1, $pop0 i32.store $discard=, n($0), $pop1 - br_if $1, .LBB2_2 + br_if $1, 0 # 0: down to label0 # BB#1: # %if.end call exit@FUNCTION, $0 unreachable .LBB2_2: # %if.then + end_block # label0: call abort@FUNCTION unreachable + .endfunc .Lfunc_end2: .size main, .Lfunc_end2-main @@ -77,5 +81,5 @@ n: .size n, 4 - .ident "clang version 3.8.0 " + .ident "clang version 3.9.0 " .section ".note.GNU-stack","",@progbits |