]> git.proxmox.com Git - rustc.git/blob - src/binaryen/test/torture-s/20000422-1.c.s
New upstream version 1.23.0+dfsg1
[rustc.git] / src / binaryen / test / torture-s / 20000422-1.c.s
1 .text
2 .file "20000422-1.c"
3 .section .text.main,"ax",@progbits
4 .hidden main # -- Begin function main
5 .globl main
6 .type main,@function
7 main: # @main
8 .result i32
9 .local i32, i32, i32, i32, i32, i32, i32, i32, i32
10 # BB#0: # %entry
11 block
12 block
13 i32.const $push18=, 0
14 i32.load $push17=, num($pop18)
15 tee_local $push16=, $0=, $pop17
16 i32.const $push15=, 1
17 i32.lt_s $push0=, $pop16, $pop15
18 br_if 0, $pop0 # 0: down to label1
19 # BB#1: # %for.body.lr.ph
20 i32.const $push19=, -1
21 i32.add $1=, $0, $pop19
22 i32.const $push1=, 2
23 i32.shl $push2=, $0, $pop1
24 i32.const $push3=, ops-8
25 i32.add $2=, $pop2, $pop3
26 i32.const $6=, 0
27 .LBB0_2: # %for.body
28 # =>This Loop Header: Depth=1
29 # Child Loop BB0_4 Depth 2
30 loop # label2:
31 block
32 i32.le_s $push4=, $1, $6
33 br_if 0, $pop4 # 0: down to label3
34 # BB#3: # %for.body3.preheader
35 # in Loop: Header=BB0_2 Depth=1
36 copy_local $7=, $2
37 copy_local $8=, $1
38 .LBB0_4: # %for.body3
39 # Parent Loop BB0_2 Depth=1
40 # => This Inner Loop Header: Depth=2
41 loop # label4:
42 block
43 i32.load $push26=, 0($7)
44 tee_local $push25=, $3=, $pop26
45 i32.const $push24=, 4
46 i32.add $push23=, $7, $pop24
47 tee_local $push22=, $5=, $pop23
48 i32.load $push21=, 0($pop22)
49 tee_local $push20=, $4=, $pop21
50 i32.ge_s $push5=, $pop25, $pop20
51 br_if 0, $pop5 # 0: down to label5
52 # BB#5: # %if.then
53 # in Loop: Header=BB0_4 Depth=2
54 i32.store 0($7), $4
55 i32.store 0($5), $3
56 .LBB0_6: # %for.inc
57 # in Loop: Header=BB0_4 Depth=2
58 end_block # label5:
59 i32.const $push30=, -4
60 i32.add $7=, $7, $pop30
61 i32.const $push29=, -1
62 i32.add $push28=, $8, $pop29
63 tee_local $push27=, $8=, $pop28
64 i32.gt_s $push6=, $pop27, $6
65 br_if 0, $pop6 # 0: up to label4
66 .LBB0_7: # %for.end
67 # in Loop: Header=BB0_2 Depth=1
68 end_loop
69 end_block # label3:
70 i32.const $push33=, 1
71 i32.add $push32=, $6, $pop33
72 tee_local $push31=, $6=, $pop32
73 i32.lt_s $push7=, $pop31, $0
74 br_if 0, $pop7 # 0: up to label2
75 # BB#8: # %for.end14
76 end_loop
77 i32.const $push34=, 1
78 i32.lt_s $push8=, $0, $pop34
79 br_if 0, $pop8 # 0: down to label1
80 # BB#9: # %for.body17.preheader
81 i32.const $7=, 0
82 i32.const $8=, 0
83 .LBB0_10: # %for.body17
84 # =>This Inner Loop Header: Depth=1
85 loop # label6:
86 i32.const $push36=, ops
87 i32.add $push11=, $7, $pop36
88 i32.load $push12=, 0($pop11)
89 i32.const $push35=, correct
90 i32.add $push9=, $7, $pop35
91 i32.load $push10=, 0($pop9)
92 i32.ne $push13=, $pop12, $pop10
93 br_if 2, $pop13 # 2: down to label0
94 # BB#11: # %for.cond15
95 # in Loop: Header=BB0_10 Depth=1
96 i32.const $push40=, 4
97 i32.add $7=, $7, $pop40
98 i32.const $push39=, 1
99 i32.add $push38=, $8, $pop39
100 tee_local $push37=, $8=, $pop38
101 i32.lt_s $push14=, $pop37, $0
102 br_if 0, $pop14 # 0: up to label6
103 .LBB0_12: # %for.end25
104 end_loop
105 end_block # label1:
106 i32.const $push41=, 0
107 call exit@FUNCTION, $pop41
108 unreachable
109 .LBB0_13: # %if.then21
110 end_block # label0:
111 call abort@FUNCTION
112 unreachable
113 .endfunc
114 .Lfunc_end0:
115 .size main, .Lfunc_end0-main
116 # -- End function
117 .hidden ops # @ops
118 .type ops,@object
119 .section .data.ops,"aw",@progbits
120 .globl ops
121 .p2align 4
122 ops:
123 .int32 11 # 0xb
124 .int32 12 # 0xc
125 .int32 46 # 0x2e
126 .int32 3 # 0x3
127 .int32 2 # 0x2
128 .int32 2 # 0x2
129 .int32 3 # 0x3
130 .int32 2 # 0x2
131 .int32 1 # 0x1
132 .int32 3 # 0x3
133 .int32 2 # 0x2
134 .int32 1 # 0x1
135 .int32 2 # 0x2
136 .size ops, 52
137
138 .hidden correct # @correct
139 .type correct,@object
140 .section .data.correct,"aw",@progbits
141 .globl correct
142 .p2align 4
143 correct:
144 .int32 46 # 0x2e
145 .int32 12 # 0xc
146 .int32 11 # 0xb
147 .int32 3 # 0x3
148 .int32 3 # 0x3
149 .int32 3 # 0x3
150 .int32 2 # 0x2
151 .int32 2 # 0x2
152 .int32 2 # 0x2
153 .int32 2 # 0x2
154 .int32 2 # 0x2
155 .int32 1 # 0x1
156 .int32 1 # 0x1
157 .size correct, 52
158
159 .hidden num # @num
160 .type num,@object
161 .section .data.num,"aw",@progbits
162 .globl num
163 .p2align 2
164 num:
165 .int32 13 # 0xd
166 .size num, 4
167
168
169 .ident "clang version 6.0.0 (https://llvm.googlesource.com/clang.git a1774cccdccfa673c057f93ccf23bc2d8cb04932) (https://llvm.googlesource.com/llvm.git fc50e1c6121255333bc42d6faf2b524c074eae25)"
170 .functype abort, void
171 .functype exit, void, i32