summaryrefslogtreecommitdiff
path: root/test/torture-s/mod-1.c.s
diff options
context:
space:
mode:
Diffstat (limited to 'test/torture-s/mod-1.c.s')
-rw-r--r--test/torture-s/mod-1.c.s9
1 files changed, 6 insertions, 3 deletions
diff --git a/test/torture-s/mod-1.c.s b/test/torture-s/mod-1.c.s
index 36bd4c912..cbcba1f20 100644
--- a/test/torture-s/mod-1.c.s
+++ b/test/torture-s/mod-1.c.s
@@ -8,14 +8,16 @@ f: # @f
.param i32, i32
.result i32
# BB#0: # %entry
- block .LBB0_2
+ block
i32.rem_s $push0=, $0, $1
- br_if $pop0, .LBB0_2
+ br_if $pop0, 0 # 0: down to label0
# BB#1: # %if.end
return $1
.LBB0_2: # %if.then
+ end_block # label0:
call abort@FUNCTION
unreachable
+ .endfunc
.Lfunc_end0:
.size f, .Lfunc_end0-f
@@ -29,9 +31,10 @@ main: # @main
i32.const $push0=, 0
call exit@FUNCTION, $pop0
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