summaryrefslogtreecommitdiff
path: root/test/torture-s/builtin-constant.c.s
diff options
context:
space:
mode:
Diffstat (limited to 'test/torture-s/builtin-constant.c.s')
-rw-r--r--test/torture-s/builtin-constant.c.s9
1 files changed, 6 insertions, 3 deletions
diff --git a/test/torture-s/builtin-constant.c.s b/test/torture-s/builtin-constant.c.s
index eb421adcf..da6571514 100644
--- a/test/torture-s/builtin-constant.c.s
+++ b/test/torture-s/builtin-constant.c.s
@@ -7,16 +7,18 @@
foo: # @foo
.param i32
# BB#0: # %entry
- block .LBB0_2
+ block
i32.load8_u $push0=, 0($0)
i32.const $push1=, 48
i32.eq $push2=, $pop0, $pop1
- br_if $pop2, .LBB0_2
+ br_if $pop2, 0 # 0: down to label0
# BB#1: # %if.end
return
.LBB0_2: # %if.then
+ end_block # label0:
call abort@FUNCTION
unreachable
+ .endfunc
.Lfunc_end0:
.size foo, .Lfunc_end0-foo
@@ -29,9 +31,10 @@ main: # @main
# BB#0: # %entry
call abort@FUNCTION
unreachable
+ .endfunc
.Lfunc_end1:
.size main, .Lfunc_end1-main
- .ident "clang version 3.8.0 "
+ .ident "clang version 3.9.0 "
.section ".note.GNU-stack","",@progbits