diff options
Diffstat (limited to 'test/torture-s/pr38212.c.s')
-rw-r--r-- | test/torture-s/pr38212.c.s | 9 |
1 files changed, 6 insertions, 3 deletions
diff --git a/test/torture-s/pr38212.c.s b/test/torture-s/pr38212.c.s index b9adccf80..cd9236f8e 100644 --- a/test/torture-s/pr38212.c.s +++ b/test/torture-s/pr38212.c.s @@ -20,6 +20,7 @@ foo: # @foo i32.load $push5=, 0($1) i32.add $push6=, $pop5, $2 return $pop6 + .endfunc .Lfunc_end0: .size foo, .Lfunc_end0-foo @@ -42,10 +43,10 @@ main: # @main i32.store $0=, 12($6), $pop0 i32.const $5=, 12 i32.add $5=, $6, $5 - block .LBB1_2 + block i32.call $push1=, foo@FUNCTION, $5, $1 i32.ne $push2=, $pop1, $1 - br_if $pop2, .LBB1_2 + br_if $pop2, 0 # 0: down to label0 # BB#1: # %if.end i32.const $4=, 16 i32.add $6=, $6, $4 @@ -53,11 +54,13 @@ main: # @main i32.store $6=, 0($4), $6 return $0 .LBB1_2: # %if.then + end_block # label0: call abort@FUNCTION unreachable + .endfunc .Lfunc_end1: .size main, .Lfunc_end1-main - .ident "clang version 3.8.0 " + .ident "clang version 3.9.0 " .section ".note.GNU-stack","",@progbits |