diff options
Diffstat (limited to 'test/torture-s/20021204-1.c.s')
-rw-r--r-- | test/torture-s/20021204-1.c.s | 14 |
1 files changed, 9 insertions, 5 deletions
diff --git a/test/torture-s/20021204-1.c.s b/test/torture-s/20021204-1.c.s index ab8c9e44d..d4eabf204 100644 --- a/test/torture-s/20021204-1.c.s +++ b/test/torture-s/20021204-1.c.s @@ -7,15 +7,17 @@ foo: # @foo .param i32 # BB#0: # %entry - block .LBB0_2 + block i32.const $push0=, 1 i32.ne $push1=, $0, $pop0 - br_if $pop1, .LBB0_2 + br_if $pop1, 0 # 0: down to label0 # BB#1: # %if.end return .LBB0_2: # %if.then + end_block # label0: call abort@FUNCTION unreachable + .endfunc .Lfunc_end0: .size foo, .Lfunc_end0-foo @@ -29,17 +31,19 @@ main: # @main .local i32 # BB#0: # %entry i32.const $2=, 0 - block .LBB1_2 + block i32.load $push0=, z($2) i32.const $push1=, 1 i32.ge_s $push2=, $pop0, $pop1 - br_if $pop2, .LBB1_2 + br_if $pop2, 0 # 0: down to label1 # BB#1: # %foo.exit call exit@FUNCTION, $2 unreachable .LBB1_2: # %if.then.i + end_block # label1: call abort@FUNCTION unreachable + .endfunc .Lfunc_end1: .size main, .Lfunc_end1-main @@ -53,5 +57,5 @@ z: .size z, 4 - .ident "clang version 3.8.0 " + .ident "clang version 3.9.0 " .section ".note.GNU-stack","",@progbits |