]> git.proxmox.com Git - rustc.git/blob - src/binaryen/test/torture-s/20071202-1.c.s
New upstream version 1.23.0+dfsg1
[rustc.git] / src / binaryen / test / torture-s / 20071202-1.c.s
1 .text
2 .file "20071202-1.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 i32
10 # BB#0: # %entry
11 i64.const $push0=, 0
12 i64.store 8($0):p2align=2, $pop0
13 i32.load $1=, 0($0)
14 i32.load $push1=, 4($0)
15 i32.store 0($0), $pop1
16 i32.store 4($0), $1
17 i32.const $push2=, 24
18 i32.add $push3=, $0, $pop2
19 i64.const $push7=, 0
20 i64.store 0($pop3):p2align=2, $pop7
21 i32.const $push4=, 16
22 i32.add $push5=, $0, $pop4
23 i64.const $push6=, 0
24 i64.store 0($pop5):p2align=2, $pop6
25 # fallthrough-return
26 .endfunc
27 .Lfunc_end0:
28 .size foo, .Lfunc_end0-foo
29 # -- End function
30 .section .text.main,"ax",@progbits
31 .hidden main # -- Begin function main
32 .globl main
33 .type main,@function
34 main: # @main
35 .result i32
36 .local i32
37 # BB#0: # %entry
38 i32.const $push71=, 0
39 i32.const $push69=, 0
40 i32.load $push68=, __stack_pointer($pop69)
41 i32.const $push70=, 80
42 i32.sub $push80=, $pop68, $pop70
43 tee_local $push79=, $0=, $pop80
44 i32.store __stack_pointer($pop71), $pop79
45 i32.const $push75=, 8
46 i32.add $push76=, $0, $pop75
47 i32.const $push1=, .Lmain.s
48 i32.const $push0=, 68
49 i32.call $drop=, memcpy@FUNCTION, $pop76, $pop1, $pop0
50 i32.const $push77=, 8
51 i32.add $push78=, $0, $pop77
52 call foo@FUNCTION, $pop78
53 block
54 i32.load $push3=, 8($0)
55 i32.const $push2=, 12
56 i32.ne $push4=, $pop3, $pop2
57 br_if 0, $pop4 # 0: down to label0
58 # BB#1: # %lor.lhs.false
59 i32.load $push6=, 12($0)
60 i32.const $push5=, 6
61 i32.ne $push7=, $pop6, $pop5
62 br_if 0, $pop7 # 0: down to label0
63 # BB#2: # %lor.lhs.false2
64 i32.load $push8=, 16($0)
65 br_if 0, $pop8 # 0: down to label0
66 # BB#3: # %lor.lhs.false3
67 i32.const $push9=, 20
68 i32.add $push10=, $0, $pop9
69 i32.load $push11=, 0($pop10)
70 br_if 0, $pop11 # 0: down to label0
71 # BB#4: # %lor.lhs.false7
72 i32.const $push12=, 24
73 i32.add $push13=, $0, $pop12
74 i32.load $push14=, 0($pop13)
75 br_if 0, $pop14 # 0: down to label0
76 # BB#5: # %lor.lhs.false11
77 i32.const $push15=, 28
78 i32.add $push16=, $0, $pop15
79 i32.load $push17=, 0($pop16)
80 br_if 0, $pop17 # 0: down to label0
81 # BB#6: # %lor.lhs.false15
82 i32.const $push18=, 32
83 i32.add $push19=, $0, $pop18
84 i32.load $push20=, 0($pop19)
85 br_if 0, $pop20 # 0: down to label0
86 # BB#7: # %lor.lhs.false19
87 i32.const $push21=, 36
88 i32.add $push22=, $0, $pop21
89 i32.load $push23=, 0($pop22)
90 br_if 0, $pop23 # 0: down to label0
91 # BB#8: # %if.end
92 i32.load $push25=, 40($0)
93 i32.const $push24=, 7
94 i32.ne $push26=, $pop25, $pop24
95 br_if 0, $pop26 # 0: down to label0
96 # BB#9: # %lor.lhs.false24
97 i32.const $push27=, 44
98 i32.add $push28=, $0, $pop27
99 i32.load $push29=, 0($pop28)
100 i32.const $push30=, 8
101 i32.ne $push31=, $pop29, $pop30
102 br_if 0, $pop31 # 0: down to label0
103 # BB#10: # %lor.lhs.false28
104 i32.const $push32=, 48
105 i32.add $push33=, $0, $pop32
106 i32.load $push34=, 0($pop33)
107 i32.const $push35=, 9
108 i32.ne $push36=, $pop34, $pop35
109 br_if 0, $pop36 # 0: down to label0
110 # BB#11: # %lor.lhs.false33
111 i32.const $push37=, 52
112 i32.add $push38=, $0, $pop37
113 i32.load $push39=, 0($pop38)
114 i32.const $push40=, 10
115 i32.ne $push41=, $pop39, $pop40
116 br_if 0, $pop41 # 0: down to label0
117 # BB#12: # %lor.lhs.false38
118 i32.const $push42=, 56
119 i32.add $push43=, $0, $pop42
120 i32.load $push44=, 0($pop43)
121 i32.const $push45=, 11
122 i32.ne $push46=, $pop44, $pop45
123 br_if 0, $pop46 # 0: down to label0
124 # BB#13: # %lor.lhs.false43
125 i32.const $push47=, 60
126 i32.add $push48=, $0, $pop47
127 i32.load $push49=, 0($pop48)
128 i32.const $push50=, 12
129 i32.ne $push51=, $pop49, $pop50
130 br_if 0, $pop51 # 0: down to label0
131 # BB#14: # %lor.lhs.false48
132 i32.const $push52=, 64
133 i32.add $push53=, $0, $pop52
134 i32.load $push54=, 0($pop53)
135 i32.const $push55=, 13
136 i32.ne $push56=, $pop54, $pop55
137 br_if 0, $pop56 # 0: down to label0
138 # BB#15: # %lor.lhs.false53
139 i32.const $push57=, 68
140 i32.add $push58=, $0, $pop57
141 i32.load $push59=, 0($pop58)
142 i32.const $push60=, 14
143 i32.ne $push61=, $pop59, $pop60
144 br_if 0, $pop61 # 0: down to label0
145 # BB#16: # %lor.lhs.false58
146 i32.const $push62=, 72
147 i32.add $push63=, $0, $pop62
148 i32.load $push64=, 0($pop63)
149 i32.const $push65=, 15
150 i32.ne $push66=, $pop64, $pop65
151 br_if 0, $pop66 # 0: down to label0
152 # BB#17: # %if.end64
153 i32.const $push74=, 0
154 i32.const $push72=, 80
155 i32.add $push73=, $0, $pop72
156 i32.store __stack_pointer($pop74), $pop73
157 i32.const $push67=, 0
158 return $pop67
159 .LBB1_18: # %if.then
160 end_block # label0:
161 call abort@FUNCTION
162 unreachable
163 .endfunc
164 .Lfunc_end1:
165 .size main, .Lfunc_end1-main
166 # -- End function
167 .type .Lmain.s,@object # @main.s
168 .section .rodata..Lmain.s,"a",@progbits
169 .p2align 2
170 .Lmain.s:
171 .int32 6 # 0x6
172 .int32 12 # 0xc
173 .int32 1 # 0x1
174 .int32 2 # 0x2
175 .int32 3 # 0x3
176 .int32 4 # 0x4
177 .int32 5 # 0x5
178 .int32 6 # 0x6
179 .int32 7 # 0x7
180 .int32 8 # 0x8
181 .int32 9 # 0x9
182 .int32 10 # 0xa
183 .int32 11 # 0xb
184 .int32 12 # 0xc
185 .int32 13 # 0xd
186 .int32 14 # 0xe
187 .int32 15 # 0xf
188 .size .Lmain.s, 68
189
190
191 .ident "clang version 6.0.0 (https://llvm.googlesource.com/clang.git a1774cccdccfa673c057f93ccf23bc2d8cb04932) (https://llvm.googlesource.com/llvm.git fc50e1c6121255333bc42d6faf2b524c074eae25)"
192 .functype abort, void