]> git.proxmox.com Git - rustc.git/blob - src/binaryen/test/torture-s/pr27260.c.s
New upstream version 1.25.0+dfsg1
[rustc.git] / src / binaryen / test / torture-s / pr27260.c.s
1 .text
2 .file "pr27260.c"
3 .section .text.foo,"ax",@progbits
4 .hidden foo # -- Begin function foo
5 .globl foo
6 .type foo,@function
7 foo: # @foo
8 .param i32
9 .local i64
10 # BB#0: # %entry
11 i32.const $push4=, 0
12 i32.const $push0=, 2
13 i32.ne $push1=, $0, $pop0
14 i64.extend_u/i32 $push2=, $pop1
15 i64.const $push3=, 72340172838076673
16 i64.mul $push13=, $pop2, $pop3
17 tee_local $push12=, $1=, $pop13
18 i64.store buf+56($pop4), $pop12
19 i32.const $push11=, 0
20 i64.store buf+48($pop11), $1
21 i32.const $push10=, 0
22 i64.store buf+40($pop10), $1
23 i32.const $push9=, 0
24 i64.store buf+32($pop9), $1
25 i32.const $push8=, 0
26 i64.store buf+24($pop8), $1
27 i32.const $push7=, 0
28 i64.store buf+16($pop7), $1
29 i32.const $push6=, 0
30 i64.store buf+8($pop6), $1
31 i32.const $push5=, 0
32 i64.store buf($pop5), $1
33 # fallthrough-return
34 .endfunc
35 .Lfunc_end0:
36 .size foo, .Lfunc_end0-foo
37 # -- End function
38 .section .text.main,"ax",@progbits
39 .hidden main # -- Begin function main
40 .globl main
41 .type main,@function
42 main: # @main
43 .result i32
44 .local i32, i32
45 # BB#0: # %entry
46 i32.const $push3=, 0
47 i32.const $push2=, 2
48 i32.store8 buf+64($pop3), $pop2
49 i32.const $1=, -1
50 .LBB1_1: # %for.body
51 # =>This Inner Loop Header: Depth=1
52 block
53 block
54 loop # label2:
55 i32.const $push19=, buf+1
56 i32.add $push4=, $1, $pop19
57 i32.load8_u $push5=, 0($pop4)
58 br_if 1, $pop5 # 1: down to label1
59 # BB#2: # %for.cond
60 # in Loop: Header=BB1_1 Depth=1
61 i32.const $push23=, 1
62 i32.add $push22=, $1, $pop23
63 tee_local $push21=, $1=, $pop22
64 i32.const $push20=, 62
65 i32.le_u $push6=, $pop21, $pop20
66 br_if 0, $pop6 # 0: up to label2
67 # BB#3: # %for.end
68 end_loop
69 i32.const $push8=, 0
70 i64.const $push7=, 72340172838076673
71 i64.store buf+56($pop8), $pop7
72 i32.const $push37=, 0
73 i64.const $push36=, 72340172838076673
74 i64.store buf+48($pop37), $pop36
75 i32.const $push35=, 0
76 i64.const $push34=, 72340172838076673
77 i64.store buf+40($pop35), $pop34
78 i32.const $push33=, 0
79 i64.const $push32=, 72340172838076673
80 i64.store buf+32($pop33), $pop32
81 i32.const $push31=, 0
82 i64.const $push30=, 72340172838076673
83 i64.store buf+24($pop31), $pop30
84 i32.const $push29=, 0
85 i64.const $push28=, 72340172838076673
86 i64.store buf+16($pop29), $pop28
87 i32.const $push27=, 0
88 i64.const $push26=, 72340172838076673
89 i64.store buf+8($pop27), $pop26
90 i32.const $push25=, 0
91 i64.const $push24=, 72340172838076673
92 i64.store buf($pop25), $pop24
93 i32.const $1=, 1
94 .LBB1_4: # %for.cond3
95 # =>This Inner Loop Header: Depth=1
96 block
97 loop # label4:
98 i32.const $push39=, -1
99 i32.add $push9=, $1, $pop39
100 i32.const $push38=, 62
101 i32.gt_u $push10=, $pop9, $pop38
102 br_if 1, $pop10 # 1: down to label3
103 # BB#5: # %for.cond3.for.body6_crit_edge
104 # in Loop: Header=BB1_4 Depth=1
105 i32.const $push42=, buf
106 i32.add $0=, $1, $pop42
107 i32.const $push41=, 1
108 i32.add $push0=, $1, $pop41
109 copy_local $1=, $pop0
110 i32.load8_u $push17=, 0($0)
111 i32.const $push40=, 1
112 i32.eq $push18=, $pop17, $pop40
113 br_if 0, $pop18 # 0: up to label4
114 br 2 # 2: down to label1
115 .LBB1_6: # %for.end15
116 end_loop
117 end_block # label3:
118 i32.const $push12=, 0
119 i64.const $push11=, 0
120 i64.store buf+56($pop12), $pop11
121 i32.const $push56=, 0
122 i64.const $push55=, 0
123 i64.store buf+48($pop56), $pop55
124 i32.const $push54=, 0
125 i64.const $push53=, 0
126 i64.store buf+40($pop54), $pop53
127 i32.const $push52=, 0
128 i64.const $push51=, 0
129 i64.store buf+32($pop52), $pop51
130 i32.const $push50=, 0
131 i64.const $push49=, 0
132 i64.store buf+24($pop50), $pop49
133 i32.const $push48=, 0
134 i64.const $push47=, 0
135 i64.store buf+16($pop48), $pop47
136 i32.const $push46=, 0
137 i64.const $push45=, 0
138 i64.store buf+8($pop46), $pop45
139 i32.const $push44=, 0
140 i64.const $push43=, 0
141 i64.store buf($pop44), $pop43
142 i32.const $1=, 1
143 .LBB1_7: # %for.cond16
144 # =>This Inner Loop Header: Depth=1
145 loop # label5:
146 i32.const $push58=, -1
147 i32.add $push13=, $1, $pop58
148 i32.const $push57=, 62
149 i32.gt_u $push14=, $pop13, $pop57
150 br_if 2, $pop14 # 2: down to label0
151 # BB#8: # %for.cond16.for.body19_crit_edge
152 # in Loop: Header=BB1_7 Depth=1
153 i32.const $push60=, buf
154 i32.add $0=, $1, $pop60
155 i32.const $push59=, 1
156 i32.add $push1=, $1, $pop59
157 copy_local $1=, $pop1
158 i32.load8_u $push16=, 0($0)
159 i32.eqz $push61=, $pop16
160 br_if 0, $pop61 # 0: up to label5
161 .LBB1_9: # %if.then
162 end_loop
163 end_block # label1:
164 call abort@FUNCTION
165 unreachable
166 .LBB1_10: # %if.end33
167 end_block # label0:
168 i32.const $push15=, 0
169 # fallthrough-return: $pop15
170 .endfunc
171 .Lfunc_end1:
172 .size main, .Lfunc_end1-main
173 # -- End function
174 .hidden buf # @buf
175 .type buf,@object
176 .section .bss.buf,"aw",@nobits
177 .globl buf
178 .p2align 4
179 buf:
180 .skip 65
181 .size buf, 65
182
183
184 .ident "clang version 6.0.0 (https://llvm.googlesource.com/clang.git a1774cccdccfa673c057f93ccf23bc2d8cb04932) (https://llvm.googlesource.com/llvm.git fc50e1c6121255333bc42d6faf2b524c074eae25)"
185 .functype abort, void