summaryrefslogtreecommitdiff
path: root/test/torture-s/zero-struct-2.c.s
diff options
context:
space:
mode:
Diffstat (limited to 'test/torture-s/zero-struct-2.c.s')
-rw-r--r--test/torture-s/zero-struct-2.c.s9
1 files changed, 6 insertions, 3 deletions
diff --git a/test/torture-s/zero-struct-2.c.s b/test/torture-s/zero-struct-2.c.s
index e941324d7..1b4be92eb 100644
--- a/test/torture-s/zero-struct-2.c.s
+++ b/test/torture-s/zero-struct-2.c.s
@@ -13,6 +13,7 @@ one_raw_spinlock: # @one_raw_spinlock
i32.add $push2=, $pop0, $pop1
i32.store $discard=, ii($0), $pop2
return
+ .endfunc
.Lfunc_end0:
.size one_raw_spinlock, .Lfunc_end0-one_raw_spinlock
@@ -26,16 +27,18 @@ main: # @main
# BB#0: # %entry
i32.const $0=, 0
i32.load $1=, ii($0)
- block .LBB1_2
+ block
i32.const $push0=, 1
i32.add $push1=, $1, $pop0
i32.store $discard=, ii($0), $pop1
- br_if $1, .LBB1_2
+ br_if $1, 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
@@ -49,5 +52,5 @@ ii:
.size ii, 4
- .ident "clang version 3.8.0 "
+ .ident "clang version 3.9.0 "
.section ".note.GNU-stack","",@progbits