diff options
Diffstat (limited to 'test/torture-s/pr40657.c.s')
-rw-r--r-- | test/torture-s/pr40657.c.s | 10 |
1 files changed, 7 insertions, 3 deletions
diff --git a/test/torture-s/pr40657.c.s b/test/torture-s/pr40657.c.s index 7864c5094..bf06697f4 100644 --- a/test/torture-s/pr40657.c.s +++ b/test/torture-s/pr40657.c.s @@ -24,6 +24,7 @@ bar: # @bar i32.const $3=, __stack_pointer i32.store $4=, 0($3), $4 return + .endfunc .Lfunc_end0: .size bar, .Lfunc_end0-bar @@ -51,6 +52,7 @@ foo: # @foo i32.const $2=, __stack_pointer i32.store $4=, 0($2), $4 return $pop1 + .endfunc .Lfunc_end1: .size foo, .Lfunc_end1-foo @@ -64,16 +66,18 @@ main: # @main # BB#0: # %entry i64.call $0=, foo@FUNCTION i32.const $1=, 0 - block .LBB2_2 + block i64.load $push0=, v($1) i64.ne $push1=, $0, $pop0 - br_if $pop1, .LBB2_2 + br_if $pop1, 0 # 0: down to label0 # BB#1: # %if.end call exit@FUNCTION, $1 unreachable .LBB2_2: # %if.then + end_block # label0: call abort@FUNCTION unreachable + .endfunc .Lfunc_end2: .size main, .Lfunc_end2-main @@ -87,5 +91,5 @@ v: .size v, 8 - .ident "clang version 3.8.0 " + .ident "clang version 3.9.0 " .section ".note.GNU-stack","",@progbits |