summaryrefslogtreecommitdiff
path: root/test/torture-s/medce-1.c.s
diff options
context:
space:
mode:
Diffstat (limited to 'test/torture-s/medce-1.c.s')
-rw-r--r--test/torture-s/medce-1.c.s10
1 files changed, 7 insertions, 3 deletions
diff --git a/test/torture-s/medce-1.c.s b/test/torture-s/medce-1.c.s
index ccd44cedd..d1e00c722 100644
--- a/test/torture-s/medce-1.c.s
+++ b/test/torture-s/medce-1.c.s
@@ -10,6 +10,7 @@ bar: # @bar
i32.const $push1=, 1
i32.store8 $discard=, ok($pop0), $pop1
return
+ .endfunc
.Lfunc_end0:
.size bar, .Lfunc_end0-bar
@@ -22,14 +23,16 @@ foo: # @foo
.local i32
# BB#0: # %entry
i32.const $1=, 1
- block .LBB1_2
+ block
i32.ne $push0=, $0, $1
- br_if $pop0, .LBB1_2
+ br_if $pop0, 0 # 0: down to label0
# BB#1: # %sw.bb1
i32.const $push1=, 0
i32.store8 $discard=, ok($pop1), $1
.LBB1_2: # %sw.epilog
+ end_block # label0:
return
+ .endfunc
.Lfunc_end1:
.size foo, .Lfunc_end1-foo
@@ -45,11 +48,12 @@ main: # @main
i32.const $push0=, 1
i32.store8 $discard=, ok($0), $pop0
return $0
+ .endfunc
.Lfunc_end2:
.size main, .Lfunc_end2-main
.type ok,@object # @ok
.lcomm ok,1
- .ident "clang version 3.8.0 "
+ .ident "clang version 3.9.0 "
.section ".note.GNU-stack","",@progbits