diff options
Diffstat (limited to 'test/torture-s/restrict-1.c.s')
-rw-r--r-- | test/torture-s/restrict-1.c.s | 10 |
1 files changed, 7 insertions, 3 deletions
diff --git a/test/torture-s/restrict-1.c.s b/test/torture-s/restrict-1.c.s index 10d41d15f..345f92e24 100644 --- a/test/torture-s/restrict-1.c.s +++ b/test/torture-s/restrict-1.c.s @@ -14,6 +14,7 @@ foo: # @foo i32.const $push3=, 0 i32.store $discard=, 4($0), $pop3 return + .endfunc .Lfunc_end0: .size foo, .Lfunc_end0-foo @@ -25,7 +26,7 @@ bar: # @bar .param i32 .local i32 # BB#0: # %entry - block .LBB1_2 + block i32.load $push0=, 0($0) i32.const $push1=, 1 i32.shl $1=, $pop0, $pop1 @@ -37,12 +38,14 @@ bar: # @bar i64.store32 $discard=, 0($0), $pop2 i32.const $push6=, 2 i32.ne $push7=, $1, $pop6 - br_if $pop7, .LBB1_2 + br_if $pop7, 0 # 0: down to label0 # BB#1: # %if.end return .LBB1_2: # %if.then + end_block # label0: call abort@FUNCTION unreachable + .endfunc .Lfunc_end1: .size bar, .Lfunc_end1-bar @@ -55,9 +58,10 @@ main: # @main # BB#0: # %bar.exit i32.const $push0=, 0 return $pop0 + .endfunc .Lfunc_end2: .size main, .Lfunc_end2-main - .ident "clang version 3.8.0 " + .ident "clang version 3.9.0 " .section ".note.GNU-stack","",@progbits |