summaryrefslogtreecommitdiff
path: root/test/torture-s/pr44828.c.s
diff options
context:
space:
mode:
Diffstat (limited to 'test/torture-s/pr44828.c.s')
-rw-r--r--test/torture-s/pr44828.c.s8
1 files changed, 5 insertions, 3 deletions
diff --git a/test/torture-s/pr44828.c.s b/test/torture-s/pr44828.c.s
index e9762e8b9..a62a2549e 100644
--- a/test/torture-s/pr44828.c.s
+++ b/test/torture-s/pr44828.c.s
@@ -9,7 +9,7 @@ main: # @main
.local i32
# BB#0: # %entry
i32.const $0=, 0
- block .LBB0_2
+ block
i32.load8_u $push0=, a($0)
i32.const $push1=, -939524096
i32.mul $push2=, $pop0, $pop1
@@ -17,12 +17,14 @@ main: # @main
i32.shr_s $push4=, $pop2, $pop3
i32.const $push5=, 1
i32.ge_s $push6=, $pop4, $pop5
- br_if $pop6, .LBB0_2
+ br_if $pop6, 0 # 0: down to label0
# BB#1: # %if.end
return $0
.LBB0_2: # %if.then
+ end_block # label0:
call abort@FUNCTION
unreachable
+ .endfunc
.Lfunc_end0:
.size main, .Lfunc_end0-main
@@ -36,5 +38,5 @@ a:
.size a, 4
- .ident "clang version 3.8.0 "
+ .ident "clang version 3.9.0 "
.section ".note.GNU-stack","",@progbits