diff options
Diffstat (limited to 'test/torture-s/vrp-7.c.s')
-rw-r--r-- | test/torture-s/vrp-7.c.s | 9 |
1 files changed, 6 insertions, 3 deletions
diff --git a/test/torture-s/vrp-7.c.s b/test/torture-s/vrp-7.c.s index 535e5fc26..8752675a0 100644 --- a/test/torture-s/vrp-7.c.s +++ b/test/torture-s/vrp-7.c.s @@ -19,6 +19,7 @@ foo: # @foo i32.or $push7=, $pop6, $pop4 i32.store8 $discard=, t($1), $pop7 return + .endfunc .Lfunc_end0: .size foo, .Lfunc_end0-foo @@ -33,18 +34,20 @@ main: # @main i32.const $push0=, 16 call foo@FUNCTION, $pop0 i32.const $0=, 0 - block .LBB1_2 + block i32.load8_u $push1=, t($0) i32.const $push2=, 1 i32.and $push3=, $pop1, $pop2 i32.const $push4=, 0 i32.eq $push5=, $pop3, $pop4 - br_if $pop5, .LBB1_2 + br_if $pop5, 0 # 0: down to label0 # BB#1: # %if.end return $0 .LBB1_2: # %if.then + end_block # label0: call abort@FUNCTION unreachable + .endfunc .Lfunc_end1: .size main, .Lfunc_end1-main @@ -58,5 +61,5 @@ t: .size t, 4 - .ident "clang version 3.8.0 " + .ident "clang version 3.9.0 " .section ".note.GNU-stack","",@progbits |