summaryrefslogtreecommitdiff
path: root/test/torture-s/zero-struct-1.c.s
diff options
context:
space:
mode:
Diffstat (limited to 'test/torture-s/zero-struct-1.c.s')
-rw-r--r--test/torture-s/zero-struct-1.c.s14
1 files changed, 9 insertions, 5 deletions
diff --git a/test/torture-s/zero-struct-1.c.s b/test/torture-s/zero-struct-1.c.s
index 619823c52..9ddf20024 100644
--- a/test/torture-s/zero-struct-1.c.s
+++ b/test/torture-s/zero-struct-1.c.s
@@ -16,6 +16,7 @@ h: # @h
i32.add $push2=, $1, $2
i32.store $discard=, ff($0), $pop2
return
+ .endfunc
.Lfunc_end0:
.size h, .Lfunc_end0-h
@@ -31,27 +32,30 @@ main: # @main
i32.load $1=, f($0)
i32.load $2=, ff($0)
i32.const $3=, 2
- block .LBB1_4
+ block
i32.add $push1=, $1, $3
i32.store $discard=, f($0), $pop1
i32.add $push0=, $2, $3
i32.store $3=, ff($0), $pop0
i32.const $push2=, y
i32.ne $push3=, $1, $pop2
- br_if $pop3, .LBB1_4
+ br_if $pop3, 0 # 0: down to label0
# BB#1: # %if.end
- block .LBB1_3
+ block
i32.const $push4=, y+2
i32.ne $push5=, $3, $pop4
- br_if $pop5, .LBB1_3
+ br_if $pop5, 0 # 0: down to label1
# BB#2: # %if.end3
return $0
.LBB1_3: # %if.then2
+ end_block # label1:
call abort@FUNCTION
unreachable
.LBB1_4: # %if.then
+ end_block # label0:
call abort@FUNCTION
unreachable
+ .endfunc
.Lfunc_end1:
.size main, .Lfunc_end1-main
@@ -82,5 +86,5 @@ ff:
.size ff, 4
- .ident "clang version 3.8.0 "
+ .ident "clang version 3.9.0 "
.section ".note.GNU-stack","",@progbits