summaryrefslogtreecommitdiff
path: root/test/torture-s/memset-2.c.s
diff options
context:
space:
mode:
Diffstat (limited to 'test/torture-s/memset-2.c.s')
-rw-r--r--test/torture-s/memset-2.c.s124
1 files changed, 72 insertions, 52 deletions
diff --git a/test/torture-s/memset-2.c.s b/test/torture-s/memset-2.c.s
index cb584e2e8..96568b605 100644
--- a/test/torture-s/memset-2.c.s
+++ b/test/torture-s/memset-2.c.s
@@ -52,90 +52,95 @@ check: # @check
# BB#0: # %entry
i32.const $4=, 0
i32.const $3=, u
- block .LBB1_4
+ block
i32.le_s $push0=, $0, $4
- br_if $pop0, .LBB1_4
+ br_if $pop0, 0 # 0: down to label0
.LBB1_1: # %for.body
# =>This Inner Loop Header: Depth=1
- loop .LBB1_3
+ loop # label1:
i32.const $3=, u
i32.add $push1=, $3, $4
i32.load8_u $push2=, 0($pop1)
i32.const $push3=, 97
i32.ne $push4=, $pop2, $pop3
- br_if $pop4, .LBB1_3
+ br_if $pop4, 1 # 1: down to label2
# BB#2: # %for.inc
# in Loop: Header=BB1_1 Depth=1
i32.const $push5=, 1
i32.add $4=, $4, $pop5
i32.add $3=, $3, $4
i32.lt_s $push6=, $4, $0
- br_if $pop6, .LBB1_1
- br .LBB1_4
+ br_if $pop6, 0 # 0: up to label1
+ br 2 # 2: down to label0
.LBB1_3: # %if.then
+ end_loop # label2:
call abort@FUNCTION
unreachable
.LBB1_4: # %for.cond3.preheader
+ end_block # label0:
i32.const $4=, 0
copy_local $0=, $3
- block .LBB1_8
+ block
i32.le_s $push7=, $1, $4
- br_if $pop7, .LBB1_8
+ br_if $pop7, 0 # 0: down to label3
.LBB1_5: # %for.body6
# =>This Inner Loop Header: Depth=1
- loop .LBB1_7
+ loop # label4:
i32.add $push8=, $3, $4
i32.load8_s $push9=, 0($pop8)
i32.ne $push10=, $pop9, $2
- br_if $pop10, .LBB1_7
+ br_if $pop10, 1 # 1: down to label5
# BB#6: # %for.inc12
# in Loop: Header=BB1_5 Depth=1
i32.const $push11=, 1
i32.add $4=, $4, $pop11
i32.add $0=, $3, $4
i32.lt_s $push12=, $4, $1
- br_if $pop12, .LBB1_5
- br .LBB1_8
+ br_if $pop12, 0 # 0: up to label4
+ br 2 # 2: down to label3
.LBB1_7: # %if.then10
+ end_loop # label5:
call abort@FUNCTION
unreachable
.LBB1_8: # %for.body19.preheader
+ end_block # label3:
i32.const $4=, 97
- block .LBB1_17
+ block
i32.load8_u $push13=, 0($0)
i32.ne $push14=, $pop13, $4
- br_if $pop14, .LBB1_17
+ br_if $pop14, 0 # 0: down to label6
# BB#9: # %for.inc25
i32.load8_u $push15=, 1($0)
i32.ne $push16=, $pop15, $4
- br_if $pop16, .LBB1_17
+ br_if $pop16, 0 # 0: down to label6
# BB#10: # %for.inc25.1
i32.load8_u $push17=, 2($0)
i32.ne $push18=, $pop17, $4
- br_if $pop18, .LBB1_17
+ br_if $pop18, 0 # 0: down to label6
# BB#11: # %for.inc25.2
i32.load8_u $push19=, 3($0)
i32.ne $push20=, $pop19, $4
- br_if $pop20, .LBB1_17
+ br_if $pop20, 0 # 0: down to label6
# BB#12: # %for.inc25.3
i32.load8_u $push21=, 4($0)
i32.ne $push22=, $pop21, $4
- br_if $pop22, .LBB1_17
+ br_if $pop22, 0 # 0: down to label6
# BB#13: # %for.inc25.4
i32.load8_u $push23=, 5($0)
i32.ne $push24=, $pop23, $4
- br_if $pop24, .LBB1_17
+ br_if $pop24, 0 # 0: down to label6
# BB#14: # %for.inc25.5
i32.load8_u $push25=, 6($0)
i32.ne $push26=, $pop25, $4
- br_if $pop26, .LBB1_17
+ br_if $pop26, 0 # 0: down to label6
# BB#15: # %for.inc25.6
i32.load8_u $push27=, 7($0)
i32.ne $push28=, $pop27, $4
- br_if $pop28, .LBB1_17
+ br_if $pop28, 0 # 0: down to label6
# BB#16: # %for.inc25.7
return
.LBB1_17: # %if.then23
+ end_block # label6:
call abort@FUNCTION
unreachable
.Lfunc_end1:
@@ -153,7 +158,7 @@ main: # @main
copy_local $25=, $27
.LBB2_1: # %for.body
# =>This Inner Loop Header: Depth=1
- loop .LBB2_2
+ loop # label7:
i32.const $push0=, 1633771873
i32.store $22=, u($27), $pop0
i32.const $push1=, 24929
@@ -200,10 +205,11 @@ main: # @main
i32.const $3=, 8
copy_local $24=, $17
i32.ne $push29=, $25, $3
- br_if $pop29, .LBB2_1
+ br_if $pop29, 0 # 0: up to label7
.LBB2_2: # %for.body18
# =>This Inner Loop Header: Depth=1
- loop .LBB2_3
+ end_loop # label8:
+ loop # label9:
i32.store8 $push30=, u+6($17), $13
i32.store8 $push31=, u+7($17), $pop30
i32.store8 $push32=, u+8($17), $pop31
@@ -247,10 +253,11 @@ main: # @main
i32.add $24=, $24, $1
copy_local $18=, $27
i32.ne $push58=, $24, $3
- br_if $pop58, .LBB2_2
+ br_if $pop58, 0 # 0: up to label9
.LBB2_3: # %for.body44
# =>This Inner Loop Header: Depth=1
- loop .LBB2_4
+ end_loop # label10:
+ loop # label11:
i32.store8 $push59=, u+6($27), $8
i32.store8 $push60=, u+7($27), $pop59
i32.store8 $push61=, u+8($27), $pop60
@@ -298,10 +305,11 @@ main: # @main
i32.add $18=, $18, $1
copy_local $24=, $17
i32.ne $push89=, $18, $3
- br_if $pop89, .LBB2_3
+ br_if $pop89, 0 # 0: up to label11
.LBB2_4: # %for.body70
# =>This Inner Loop Header: Depth=1
- loop .LBB2_5
+ end_loop # label12:
+ loop # label13:
i32.store8 $push90=, u+6($17), $15
i32.store8 $push91=, u+7($17), $pop90
i32.store8 $push92=, u+8($17), $pop91
@@ -353,10 +361,11 @@ main: # @main
i32.add $24=, $24, $1
copy_local $18=, $27
i32.ne $push122=, $24, $3
- br_if $pop122, .LBB2_4
+ br_if $pop122, 0 # 0: up to label13
.LBB2_5: # %for.body96
# =>This Inner Loop Header: Depth=1
- loop .LBB2_6
+ end_loop # label14:
+ loop # label15:
i32.store8 $push123=, u+6($27), $12
i32.store8 $push124=, u+7($27), $pop123
i32.store8 $push125=, u+8($27), $pop124
@@ -412,10 +421,11 @@ main: # @main
i32.add $18=, $18, $1
copy_local $22=, $17
i32.ne $push157=, $18, $3
- br_if $pop157, .LBB2_5
+ br_if $pop157, 0 # 0: up to label15
.LBB2_6: # %for.body122
# =>This Inner Loop Header: Depth=1
- loop .LBB2_7
+ end_loop # label16:
+ loop # label17:
i32.store8 $push158=, u+6($17), $16
i32.store8 $push159=, u+7($17), $pop158
i32.store8 $push160=, u+8($17), $pop159
@@ -475,10 +485,11 @@ main: # @main
i32.add $22=, $22, $1
copy_local $26=, $27
i32.ne $push194=, $22, $3
- br_if $pop194, .LBB2_6
+ br_if $pop194, 0 # 0: up to label17
.LBB2_7: # %for.body148
# =>This Inner Loop Header: Depth=1
- loop .LBB2_8
+ end_loop # label18:
+ loop # label19:
i32.store8 $push195=, u+6($27), $4
i32.store8 $push196=, u+7($27), $pop195
i32.store8 $push197=, u+8($27), $pop196
@@ -542,10 +553,11 @@ main: # @main
i32.add $26=, $26, $1
copy_local $24=, $17
i32.ne $push233=, $26, $3
- br_if $pop233, .LBB2_7
+ br_if $pop233, 0 # 0: up to label19
.LBB2_8: # %for.body174
# =>This Inner Loop Header: Depth=1
- loop .LBB2_9
+ end_loop # label20:
+ loop # label21:
i32.store8 $push234=, u+6($17), $6
i32.store8 $push235=, u+7($17), $pop234
i32.store8 $push236=, u+8($17), $pop235
@@ -614,10 +626,11 @@ main: # @main
i32.add $24=, $24, $1
copy_local $27=, $17
i32.ne $push276=, $24, $3
- br_if $pop276, .LBB2_8
+ br_if $pop276, 0 # 0: up to label21
.LBB2_9: # %for.body200
# =>This Inner Loop Header: Depth=1
- loop .LBB2_10
+ end_loop # label22:
+ loop # label23:
i32.store8 $push277=, u+6($17), $4
i32.store8 $push278=, u+7($17), $pop277
i32.store8 $push279=, u+8($17), $pop278
@@ -657,10 +670,11 @@ main: # @main
i32.add $27=, $27, $1
copy_local $25=, $17
i32.ne $push302=, $27, $3
- br_if $pop302, .LBB2_9
+ br_if $pop302, 0 # 0: up to label23
.LBB2_10: # %for.body226
# =>This Inner Loop Header: Depth=1
- loop .LBB2_11
+ end_loop # label24:
+ loop # label25:
i32.store8 $push303=, u+6($17), $23
i32.store8 $push304=, u+7($17), $pop303
i32.store8 $push305=, u+8($17), $pop304
@@ -700,10 +714,11 @@ main: # @main
i32.add $25=, $25, $1
copy_local $27=, $17
i32.ne $push328=, $25, $3
- br_if $pop328, .LBB2_10
+ br_if $pop328, 0 # 0: up to label25
.LBB2_11: # %for.body252
# =>This Inner Loop Header: Depth=1
- loop .LBB2_12
+ end_loop # label26:
+ loop # label27:
i32.store8 $push329=, u+6($17), $26
i32.store8 $push330=, u+7($17), $pop329
i32.store8 $push331=, u+8($17), $pop330
@@ -743,10 +758,11 @@ main: # @main
i32.add $27=, $27, $1
copy_local $25=, $17
i32.ne $push354=, $27, $3
- br_if $pop354, .LBB2_11
+ br_if $pop354, 0 # 0: up to label27
.LBB2_12: # %for.body278
# =>This Inner Loop Header: Depth=1
- loop .LBB2_13
+ end_loop # label28:
+ loop # label29:
i32.store8 $push355=, u+6($17), $23
i32.store8 $push356=, u+7($17), $pop355
i32.store8 $push357=, u+8($17), $pop356
@@ -786,10 +802,11 @@ main: # @main
i32.add $25=, $25, $1
copy_local $27=, $17
i32.ne $push380=, $25, $3
- br_if $pop380, .LBB2_12
+ br_if $pop380, 0 # 0: up to label29
.LBB2_13: # %for.body304
# =>This Inner Loop Header: Depth=1
- loop .LBB2_14
+ end_loop # label30:
+ loop # label31:
i32.store8 $push381=, u+6($17), $26
i32.store8 $push382=, u+7($17), $pop381
i32.store8 $push383=, u+8($17), $pop382
@@ -829,10 +846,11 @@ main: # @main
i32.add $27=, $27, $1
copy_local $25=, $17
i32.ne $push406=, $27, $3
- br_if $pop406, .LBB2_13
+ br_if $pop406, 0 # 0: up to label31
.LBB2_14: # %for.body330
# =>This Inner Loop Header: Depth=1
- loop .LBB2_15
+ end_loop # label32:
+ loop # label33:
i32.store8 $push407=, u+6($17), $8
i32.store8 $push408=, u+7($17), $pop407
i32.store8 $push409=, u+8($17), $pop408
@@ -872,10 +890,11 @@ main: # @main
i32.add $25=, $25, $1
copy_local $27=, $17
i32.ne $push432=, $25, $3
- br_if $pop432, .LBB2_14
+ br_if $pop432, 0 # 0: up to label33
.LBB2_15: # %for.body356
# =>This Inner Loop Header: Depth=1
- loop .LBB2_16
+ end_loop # label34:
+ loop # label35:
i32.store8 $push433=, u+6($17), $23
i32.store8 $push434=, u+7($17), $pop433
i32.store8 $push435=, u+8($17), $pop434
@@ -914,8 +933,9 @@ main: # @main
call check@FUNCTION, $27, $25, $18
i32.add $27=, $27, $1
i32.ne $push458=, $27, $3
- br_if $pop458, .LBB2_15
-.LBB2_16: # %for.end378
+ br_if $pop458, 0 # 0: up to label35
+# BB#16: # %for.end378
+ end_loop # label36:
i32.const $push459=, 0
call exit@FUNCTION, $pop459
unreachable