diff options
Diffstat (limited to 'test/torture-s/pr21173.c.s')
-rw-r--r-- | test/torture-s/pr21173.c.s | 9 |
1 files changed, 6 insertions, 3 deletions
diff --git a/test/torture-s/pr21173.c.s b/test/torture-s/pr21173.c.s index 7824e4c5d..ebb56dfae 100644 --- a/test/torture-s/pr21173.c.s +++ b/test/torture-s/pr21173.c.s @@ -18,6 +18,7 @@ foo: # @foo i32.add $push3=, $2, $0 i32.store $discard=, a+4($1), $pop3 return + .endfunc .Lfunc_end0: .size foo, .Lfunc_end0-foo @@ -30,16 +31,18 @@ main: # @main .local i32 # BB#0: # %entry i32.const $0=, 0 - block .LBB1_2 + block i32.load $push0=, a($0) i32.load $push1=, a+4($0) i32.or $push2=, $pop0, $pop1 - br_if $pop2, .LBB1_2 + br_if $pop2, 0 # 0: down to label0 # BB#1: # %for.cond.1 return $0 .LBB1_2: # %if.then + end_block # label0: call abort@FUNCTION unreachable + .endfunc .Lfunc_end1: .size main, .Lfunc_end1-main @@ -61,5 +64,5 @@ a: .size a, 8 - .ident "clang version 3.8.0 " + .ident "clang version 3.9.0 " .section ".note.GNU-stack","",@progbits |