diff options
Diffstat (limited to 'test/torture-s/pr35231.c.s')
-rw-r--r-- | test/torture-s/pr35231.c.s | 14 |
1 files changed, 9 insertions, 5 deletions
diff --git a/test/torture-s/pr35231.c.s b/test/torture-s/pr35231.c.s index 77eeb454b..0cd56b63c 100644 --- a/test/torture-s/pr35231.c.s +++ b/test/torture-s/pr35231.c.s @@ -8,16 +8,18 @@ foo: # @foo .param i32, i32 .result i32 # BB#0: # %entry - block .LBB0_2 + block i32.or $push0=, $1, $0 i32.const $push1=, 1 i32.eq $push2=, $pop0, $pop1 - br_if $pop2, .LBB0_2 + br_if $pop2, 0 # 0: down to label0 # BB#1: # %if.end return $0 .LBB0_2: # %if.then + end_block # label0: call abort@FUNCTION unreachable + .endfunc .Lfunc_end0: .size foo, .Lfunc_end0-foo @@ -31,18 +33,20 @@ main: # @main # BB#0: # %entry i32.const $0=, 0 i32.const $1=, 2 - block .LBB1_2 + block i32.call $push0=, foo@FUNCTION, $1, $0 i32.ne $push1=, $pop0, $1 - br_if $pop1, .LBB1_2 + br_if $pop1, 0 # 0: down to label1 # BB#1: # %if.end return $0 .LBB1_2: # %if.then + end_block # label1: 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 |