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