1 # NOTE: Assertions have been autogenerated by utils/update_mir_test_checks.py
2 # RUN: llc -march=aarch64 -run-pass=legalizer %s -o - | FileCheck %s
7 ; CHECK-LABEL: name: test_pow
8 ; CHECK: [[COPY:%[0-9]+]]:_(s64) = COPY $d0
9 ; CHECK: [[COPY1:%[0-9]+]]:_(s64) = COPY $d1
10 ; CHECK: [[COPY2:%[0-9]+]]:_(s32) = COPY $s2
11 ; CHECK: [[COPY3:%[0-9]+]]:_(s32) = COPY $s3
12 ; CHECK: ADJCALLSTACKDOWN 0, 0, implicit-def $sp, implicit $sp
13 ; CHECK: $d0 = COPY [[COPY]](s64)
14 ; CHECK: $d1 = COPY [[COPY1]](s64)
15 ; CHECK: BL &pow, csr_aarch64_aapcs, implicit-def $lr, implicit $sp, implicit $d0, implicit $d1, implicit-def $d0
16 ; CHECK: [[COPY4:%[0-9]+]]:_(s64) = COPY $d0
17 ; CHECK: ADJCALLSTACKUP 0, 0, implicit-def $sp, implicit $sp
18 ; CHECK: $x0 = COPY [[COPY4]](s64)
19 ; CHECK: ADJCALLSTACKDOWN 0, 0, implicit-def $sp, implicit $sp
20 ; CHECK: $s0 = COPY [[COPY2]](s32)
21 ; CHECK: $s1 = COPY [[COPY3]](s32)
22 ; CHECK: BL &powf, csr_aarch64_aapcs, implicit-def $lr, implicit $sp, implicit $s0, implicit $s1, implicit-def $s0
23 ; CHECK: [[COPY5:%[0-9]+]]:_(s32) = COPY $s0
24 ; CHECK: ADJCALLSTACKUP 0, 0, implicit-def $sp, implicit $sp
25 ; CHECK: $w0 = COPY [[COPY5]](s32)
30 %4:_(s64) = G_FPOW %0, %1
32 %5:_(s32) = G_FPOW %2, %3
39 tracksRegLiveness: true
44 ; CHECK-LABEL: name: test_v4f16.pow
45 ; CHECK: liveins: $d0, $d1
46 ; CHECK: [[COPY:%[0-9]+]]:_(<4 x s16>) = COPY $d0
47 ; CHECK: [[COPY1:%[0-9]+]]:_(<4 x s16>) = COPY $d1
48 ; CHECK: [[UV:%[0-9]+]]:_(s16), [[UV1:%[0-9]+]]:_(s16), [[UV2:%[0-9]+]]:_(s16), [[UV3:%[0-9]+]]:_(s16) = G_UNMERGE_VALUES [[COPY]](<4 x s16>)
49 ; CHECK: [[UV4:%[0-9]+]]:_(s16), [[UV5:%[0-9]+]]:_(s16), [[UV6:%[0-9]+]]:_(s16), [[UV7:%[0-9]+]]:_(s16) = G_UNMERGE_VALUES [[COPY1]](<4 x s16>)
50 ; CHECK: [[FPEXT:%[0-9]+]]:_(s32) = G_FPEXT [[UV]](s16)
51 ; CHECK: [[FPEXT1:%[0-9]+]]:_(s32) = G_FPEXT [[UV4]](s16)
52 ; CHECK: ADJCALLSTACKDOWN 0, 0, implicit-def $sp, implicit $sp
53 ; CHECK: $s0 = COPY [[FPEXT]](s32)
54 ; CHECK: $s1 = COPY [[FPEXT1]](s32)
55 ; CHECK: BL &powf, csr_aarch64_aapcs, implicit-def $lr, implicit $sp, implicit $s0, implicit $s1, implicit-def $s0
56 ; CHECK: [[COPY2:%[0-9]+]]:_(s32) = COPY $s0
57 ; CHECK: ADJCALLSTACKUP 0, 0, implicit-def $sp, implicit $sp
58 ; CHECK: [[FPTRUNC:%[0-9]+]]:_(s16) = G_FPTRUNC [[COPY2]](s32)
59 ; CHECK: [[FPEXT2:%[0-9]+]]:_(s32) = G_FPEXT [[UV1]](s16)
60 ; CHECK: [[FPEXT3:%[0-9]+]]:_(s32) = G_FPEXT [[UV5]](s16)
61 ; CHECK: ADJCALLSTACKDOWN 0, 0, implicit-def $sp, implicit $sp
62 ; CHECK: $s0 = COPY [[FPEXT2]](s32)
63 ; CHECK: $s1 = COPY [[FPEXT3]](s32)
64 ; CHECK: BL &powf, csr_aarch64_aapcs, implicit-def $lr, implicit $sp, implicit $s0, implicit $s1, implicit-def $s0
65 ; CHECK: [[COPY3:%[0-9]+]]:_(s32) = COPY $s0
66 ; CHECK: ADJCALLSTACKUP 0, 0, implicit-def $sp, implicit $sp
67 ; CHECK: [[FPTRUNC1:%[0-9]+]]:_(s16) = G_FPTRUNC [[COPY3]](s32)
68 ; CHECK: [[FPEXT4:%[0-9]+]]:_(s32) = G_FPEXT [[UV2]](s16)
69 ; CHECK: [[FPEXT5:%[0-9]+]]:_(s32) = G_FPEXT [[UV6]](s16)
70 ; CHECK: ADJCALLSTACKDOWN 0, 0, implicit-def $sp, implicit $sp
71 ; CHECK: $s0 = COPY [[FPEXT4]](s32)
72 ; CHECK: $s1 = COPY [[FPEXT5]](s32)
73 ; CHECK: BL &powf, csr_aarch64_aapcs, implicit-def $lr, implicit $sp, implicit $s0, implicit $s1, implicit-def $s0
74 ; CHECK: [[COPY4:%[0-9]+]]:_(s32) = COPY $s0
75 ; CHECK: ADJCALLSTACKUP 0, 0, implicit-def $sp, implicit $sp
76 ; CHECK: [[FPTRUNC2:%[0-9]+]]:_(s16) = G_FPTRUNC [[COPY4]](s32)
77 ; CHECK: [[FPEXT6:%[0-9]+]]:_(s32) = G_FPEXT [[UV3]](s16)
78 ; CHECK: [[FPEXT7:%[0-9]+]]:_(s32) = G_FPEXT [[UV7]](s16)
79 ; CHECK: ADJCALLSTACKDOWN 0, 0, implicit-def $sp, implicit $sp
80 ; CHECK: $s0 = COPY [[FPEXT6]](s32)
81 ; CHECK: $s1 = COPY [[FPEXT7]](s32)
82 ; CHECK: BL &powf, csr_aarch64_aapcs, implicit-def $lr, implicit $sp, implicit $s0, implicit $s1, implicit-def $s0
83 ; CHECK: [[COPY5:%[0-9]+]]:_(s32) = COPY $s0
84 ; CHECK: ADJCALLSTACKUP 0, 0, implicit-def $sp, implicit $sp
85 ; CHECK: [[FPTRUNC3:%[0-9]+]]:_(s16) = G_FPTRUNC [[COPY5]](s32)
86 ; CHECK: [[BUILD_VECTOR:%[0-9]+]]:_(<4 x s16>) = G_BUILD_VECTOR [[FPTRUNC]](s16), [[FPTRUNC1]](s16), [[FPTRUNC2]](s16), [[FPTRUNC3]](s16)
87 ; CHECK: $d0 = COPY [[BUILD_VECTOR]](<4 x s16>)
88 ; CHECK: RET_ReallyLR implicit $d0
89 %0:_(<4 x s16>) = COPY $d0
90 %1:_(<4 x s16>) = COPY $d1
91 %2:_(<4 x s16>) = G_FPOW %0, %1
92 $d0 = COPY %2(<4 x s16>)
93 RET_ReallyLR implicit $d0
99 tracksRegLiveness: true
104 ; CHECK-LABEL: name: test_v8f16.pow
105 ; CHECK: liveins: $q0, $q1
106 ; CHECK: [[COPY:%[0-9]+]]:_(<8 x s16>) = COPY $q0
107 ; CHECK: [[COPY1:%[0-9]+]]:_(<8 x s16>) = COPY $q1
108 ; CHECK: [[UV:%[0-9]+]]:_(s16), [[UV1:%[0-9]+]]:_(s16), [[UV2:%[0-9]+]]:_(s16), [[UV3:%[0-9]+]]:_(s16), [[UV4:%[0-9]+]]:_(s16), [[UV5:%[0-9]+]]:_(s16), [[UV6:%[0-9]+]]:_(s16), [[UV7:%[0-9]+]]:_(s16) = G_UNMERGE_VALUES [[COPY]](<8 x s16>)
109 ; CHECK: [[UV8:%[0-9]+]]:_(s16), [[UV9:%[0-9]+]]:_(s16), [[UV10:%[0-9]+]]:_(s16), [[UV11:%[0-9]+]]:_(s16), [[UV12:%[0-9]+]]:_(s16), [[UV13:%[0-9]+]]:_(s16), [[UV14:%[0-9]+]]:_(s16), [[UV15:%[0-9]+]]:_(s16) = G_UNMERGE_VALUES [[COPY1]](<8 x s16>)
110 ; CHECK: [[FPEXT:%[0-9]+]]:_(s32) = G_FPEXT [[UV]](s16)
111 ; CHECK: [[FPEXT1:%[0-9]+]]:_(s32) = G_FPEXT [[UV8]](s16)
112 ; CHECK: ADJCALLSTACKDOWN 0, 0, implicit-def $sp, implicit $sp
113 ; CHECK: $s0 = COPY [[FPEXT]](s32)
114 ; CHECK: $s1 = COPY [[FPEXT1]](s32)
115 ; CHECK: BL &powf, csr_aarch64_aapcs, implicit-def $lr, implicit $sp, implicit $s0, implicit $s1, implicit-def $s0
116 ; CHECK: [[COPY2:%[0-9]+]]:_(s32) = COPY $s0
117 ; CHECK: ADJCALLSTACKUP 0, 0, implicit-def $sp, implicit $sp
118 ; CHECK: [[FPTRUNC:%[0-9]+]]:_(s16) = G_FPTRUNC [[COPY2]](s32)
119 ; CHECK: [[FPEXT2:%[0-9]+]]:_(s32) = G_FPEXT [[UV1]](s16)
120 ; CHECK: [[FPEXT3:%[0-9]+]]:_(s32) = G_FPEXT [[UV9]](s16)
121 ; CHECK: ADJCALLSTACKDOWN 0, 0, implicit-def $sp, implicit $sp
122 ; CHECK: $s0 = COPY [[FPEXT2]](s32)
123 ; CHECK: $s1 = COPY [[FPEXT3]](s32)
124 ; CHECK: BL &powf, csr_aarch64_aapcs, implicit-def $lr, implicit $sp, implicit $s0, implicit $s1, implicit-def $s0
125 ; CHECK: [[COPY3:%[0-9]+]]:_(s32) = COPY $s0
126 ; CHECK: ADJCALLSTACKUP 0, 0, implicit-def $sp, implicit $sp
127 ; CHECK: [[FPTRUNC1:%[0-9]+]]:_(s16) = G_FPTRUNC [[COPY3]](s32)
128 ; CHECK: [[FPEXT4:%[0-9]+]]:_(s32) = G_FPEXT [[UV2]](s16)
129 ; CHECK: [[FPEXT5:%[0-9]+]]:_(s32) = G_FPEXT [[UV10]](s16)
130 ; CHECK: ADJCALLSTACKDOWN 0, 0, implicit-def $sp, implicit $sp
131 ; CHECK: $s0 = COPY [[FPEXT4]](s32)
132 ; CHECK: $s1 = COPY [[FPEXT5]](s32)
133 ; CHECK: BL &powf, csr_aarch64_aapcs, implicit-def $lr, implicit $sp, implicit $s0, implicit $s1, implicit-def $s0
134 ; CHECK: [[COPY4:%[0-9]+]]:_(s32) = COPY $s0
135 ; CHECK: ADJCALLSTACKUP 0, 0, implicit-def $sp, implicit $sp
136 ; CHECK: [[FPTRUNC2:%[0-9]+]]:_(s16) = G_FPTRUNC [[COPY4]](s32)
137 ; CHECK: [[FPEXT6:%[0-9]+]]:_(s32) = G_FPEXT [[UV3]](s16)
138 ; CHECK: [[FPEXT7:%[0-9]+]]:_(s32) = G_FPEXT [[UV11]](s16)
139 ; CHECK: ADJCALLSTACKDOWN 0, 0, implicit-def $sp, implicit $sp
140 ; CHECK: $s0 = COPY [[FPEXT6]](s32)
141 ; CHECK: $s1 = COPY [[FPEXT7]](s32)
142 ; CHECK: BL &powf, csr_aarch64_aapcs, implicit-def $lr, implicit $sp, implicit $s0, implicit $s1, implicit-def $s0
143 ; CHECK: [[COPY5:%[0-9]+]]:_(s32) = COPY $s0
144 ; CHECK: ADJCALLSTACKUP 0, 0, implicit-def $sp, implicit $sp
145 ; CHECK: [[FPTRUNC3:%[0-9]+]]:_(s16) = G_FPTRUNC [[COPY5]](s32)
146 ; CHECK: [[FPEXT8:%[0-9]+]]:_(s32) = G_FPEXT [[UV4]](s16)
147 ; CHECK: [[FPEXT9:%[0-9]+]]:_(s32) = G_FPEXT [[UV12]](s16)
148 ; CHECK: ADJCALLSTACKDOWN 0, 0, implicit-def $sp, implicit $sp
149 ; CHECK: $s0 = COPY [[FPEXT8]](s32)
150 ; CHECK: $s1 = COPY [[FPEXT9]](s32)
151 ; CHECK: BL &powf, csr_aarch64_aapcs, implicit-def $lr, implicit $sp, implicit $s0, implicit $s1, implicit-def $s0
152 ; CHECK: [[COPY6:%[0-9]+]]:_(s32) = COPY $s0
153 ; CHECK: ADJCALLSTACKUP 0, 0, implicit-def $sp, implicit $sp
154 ; CHECK: [[FPTRUNC4:%[0-9]+]]:_(s16) = G_FPTRUNC [[COPY6]](s32)
155 ; CHECK: [[FPEXT10:%[0-9]+]]:_(s32) = G_FPEXT [[UV5]](s16)
156 ; CHECK: [[FPEXT11:%[0-9]+]]:_(s32) = G_FPEXT [[UV13]](s16)
157 ; CHECK: ADJCALLSTACKDOWN 0, 0, implicit-def $sp, implicit $sp
158 ; CHECK: $s0 = COPY [[FPEXT10]](s32)
159 ; CHECK: $s1 = COPY [[FPEXT11]](s32)
160 ; CHECK: BL &powf, csr_aarch64_aapcs, implicit-def $lr, implicit $sp, implicit $s0, implicit $s1, implicit-def $s0
161 ; CHECK: [[COPY7:%[0-9]+]]:_(s32) = COPY $s0
162 ; CHECK: ADJCALLSTACKUP 0, 0, implicit-def $sp, implicit $sp
163 ; CHECK: [[FPTRUNC5:%[0-9]+]]:_(s16) = G_FPTRUNC [[COPY7]](s32)
164 ; CHECK: [[FPEXT12:%[0-9]+]]:_(s32) = G_FPEXT [[UV6]](s16)
165 ; CHECK: [[FPEXT13:%[0-9]+]]:_(s32) = G_FPEXT [[UV14]](s16)
166 ; CHECK: ADJCALLSTACKDOWN 0, 0, implicit-def $sp, implicit $sp
167 ; CHECK: $s0 = COPY [[FPEXT12]](s32)
168 ; CHECK: $s1 = COPY [[FPEXT13]](s32)
169 ; CHECK: BL &powf, csr_aarch64_aapcs, implicit-def $lr, implicit $sp, implicit $s0, implicit $s1, implicit-def $s0
170 ; CHECK: [[COPY8:%[0-9]+]]:_(s32) = COPY $s0
171 ; CHECK: ADJCALLSTACKUP 0, 0, implicit-def $sp, implicit $sp
172 ; CHECK: [[FPTRUNC6:%[0-9]+]]:_(s16) = G_FPTRUNC [[COPY8]](s32)
173 ; CHECK: [[FPEXT14:%[0-9]+]]:_(s32) = G_FPEXT [[UV7]](s16)
174 ; CHECK: [[FPEXT15:%[0-9]+]]:_(s32) = G_FPEXT [[UV15]](s16)
175 ; CHECK: ADJCALLSTACKDOWN 0, 0, implicit-def $sp, implicit $sp
176 ; CHECK: $s0 = COPY [[FPEXT14]](s32)
177 ; CHECK: $s1 = COPY [[FPEXT15]](s32)
178 ; CHECK: BL &powf, csr_aarch64_aapcs, implicit-def $lr, implicit $sp, implicit $s0, implicit $s1, implicit-def $s0
179 ; CHECK: [[COPY9:%[0-9]+]]:_(s32) = COPY $s0
180 ; CHECK: ADJCALLSTACKUP 0, 0, implicit-def $sp, implicit $sp
181 ; CHECK: [[FPTRUNC7:%[0-9]+]]:_(s16) = G_FPTRUNC [[COPY9]](s32)
182 ; CHECK: [[BUILD_VECTOR:%[0-9]+]]:_(<8 x s16>) = G_BUILD_VECTOR [[FPTRUNC]](s16), [[FPTRUNC1]](s16), [[FPTRUNC2]](s16), [[FPTRUNC3]](s16), [[FPTRUNC4]](s16), [[FPTRUNC5]](s16), [[FPTRUNC6]](s16), [[FPTRUNC7]](s16)
183 ; CHECK: $q0 = COPY [[BUILD_VECTOR]](<8 x s16>)
184 ; CHECK: RET_ReallyLR implicit $q0
185 %0:_(<8 x s16>) = COPY $q0
186 %1:_(<8 x s16>) = COPY $q1
187 %2:_(<8 x s16>) = G_FPOW %0, %1
188 $q0 = COPY %2(<8 x s16>)
189 RET_ReallyLR implicit $q0
195 tracksRegLiveness: true
200 ; CHECK-LABEL: name: test_v2f32.pow
201 ; CHECK: liveins: $d0, $d1
202 ; CHECK: [[COPY:%[0-9]+]]:_(<2 x s32>) = COPY $d0
203 ; CHECK: [[COPY1:%[0-9]+]]:_(<2 x s32>) = COPY $d1
204 ; CHECK: [[UV:%[0-9]+]]:_(s32), [[UV1:%[0-9]+]]:_(s32) = G_UNMERGE_VALUES [[COPY]](<2 x s32>)
205 ; CHECK: [[UV2:%[0-9]+]]:_(s32), [[UV3:%[0-9]+]]:_(s32) = G_UNMERGE_VALUES [[COPY1]](<2 x s32>)
206 ; CHECK: ADJCALLSTACKDOWN 0, 0, implicit-def $sp, implicit $sp
207 ; CHECK: $s0 = COPY [[UV]](s32)
208 ; CHECK: $s1 = COPY [[UV2]](s32)
209 ; CHECK: BL &powf, csr_aarch64_aapcs, implicit-def $lr, implicit $sp, implicit $s0, implicit $s1, implicit-def $s0
210 ; CHECK: [[COPY2:%[0-9]+]]:_(s32) = COPY $s0
211 ; CHECK: ADJCALLSTACKUP 0, 0, implicit-def $sp, implicit $sp
212 ; CHECK: ADJCALLSTACKDOWN 0, 0, implicit-def $sp, implicit $sp
213 ; CHECK: $s0 = COPY [[UV1]](s32)
214 ; CHECK: $s1 = COPY [[UV3]](s32)
215 ; CHECK: BL &powf, csr_aarch64_aapcs, implicit-def $lr, implicit $sp, implicit $s0, implicit $s1, implicit-def $s0
216 ; CHECK: [[COPY3:%[0-9]+]]:_(s32) = COPY $s0
217 ; CHECK: ADJCALLSTACKUP 0, 0, implicit-def $sp, implicit $sp
218 ; CHECK: [[BUILD_VECTOR:%[0-9]+]]:_(<2 x s32>) = G_BUILD_VECTOR [[COPY2]](s32), [[COPY3]](s32)
219 ; CHECK: $d0 = COPY [[BUILD_VECTOR]](<2 x s32>)
220 ; CHECK: RET_ReallyLR implicit $d0
221 %0:_(<2 x s32>) = COPY $d0
222 %1:_(<2 x s32>) = COPY $d1
223 %2:_(<2 x s32>) = G_FPOW %0, %1
224 $d0 = COPY %2(<2 x s32>)
225 RET_ReallyLR implicit $d0
231 tracksRegLiveness: true
236 ; CHECK-LABEL: name: test_v4f32.pow
237 ; CHECK: liveins: $q0, $q1
238 ; CHECK: [[COPY:%[0-9]+]]:_(<4 x s32>) = COPY $q0
239 ; CHECK: [[COPY1:%[0-9]+]]:_(<4 x s32>) = COPY $q1
240 ; CHECK: [[UV:%[0-9]+]]:_(s32), [[UV1:%[0-9]+]]:_(s32), [[UV2:%[0-9]+]]:_(s32), [[UV3:%[0-9]+]]:_(s32) = G_UNMERGE_VALUES [[COPY]](<4 x s32>)
241 ; CHECK: [[UV4:%[0-9]+]]:_(s32), [[UV5:%[0-9]+]]:_(s32), [[UV6:%[0-9]+]]:_(s32), [[UV7:%[0-9]+]]:_(s32) = G_UNMERGE_VALUES [[COPY1]](<4 x s32>)
242 ; CHECK: ADJCALLSTACKDOWN 0, 0, implicit-def $sp, implicit $sp
243 ; CHECK: $s0 = COPY [[UV]](s32)
244 ; CHECK: $s1 = COPY [[UV4]](s32)
245 ; CHECK: BL &powf, csr_aarch64_aapcs, implicit-def $lr, implicit $sp, implicit $s0, implicit $s1, implicit-def $s0
246 ; CHECK: [[COPY2:%[0-9]+]]:_(s32) = COPY $s0
247 ; CHECK: ADJCALLSTACKUP 0, 0, implicit-def $sp, implicit $sp
248 ; CHECK: ADJCALLSTACKDOWN 0, 0, implicit-def $sp, implicit $sp
249 ; CHECK: $s0 = COPY [[UV1]](s32)
250 ; CHECK: $s1 = COPY [[UV5]](s32)
251 ; CHECK: BL &powf, csr_aarch64_aapcs, implicit-def $lr, implicit $sp, implicit $s0, implicit $s1, implicit-def $s0
252 ; CHECK: [[COPY3:%[0-9]+]]:_(s32) = COPY $s0
253 ; CHECK: ADJCALLSTACKUP 0, 0, implicit-def $sp, implicit $sp
254 ; CHECK: ADJCALLSTACKDOWN 0, 0, implicit-def $sp, implicit $sp
255 ; CHECK: $s0 = COPY [[UV2]](s32)
256 ; CHECK: $s1 = COPY [[UV6]](s32)
257 ; CHECK: BL &powf, csr_aarch64_aapcs, implicit-def $lr, implicit $sp, implicit $s0, implicit $s1, implicit-def $s0
258 ; CHECK: [[COPY4:%[0-9]+]]:_(s32) = COPY $s0
259 ; CHECK: ADJCALLSTACKUP 0, 0, implicit-def $sp, implicit $sp
260 ; CHECK: ADJCALLSTACKDOWN 0, 0, implicit-def $sp, implicit $sp
261 ; CHECK: $s0 = COPY [[UV3]](s32)
262 ; CHECK: $s1 = COPY [[UV7]](s32)
263 ; CHECK: BL &powf, csr_aarch64_aapcs, implicit-def $lr, implicit $sp, implicit $s0, implicit $s1, implicit-def $s0
264 ; CHECK: [[COPY5:%[0-9]+]]:_(s32) = COPY $s0
265 ; CHECK: ADJCALLSTACKUP 0, 0, implicit-def $sp, implicit $sp
266 ; CHECK: [[BUILD_VECTOR:%[0-9]+]]:_(<4 x s32>) = G_BUILD_VECTOR [[COPY2]](s32), [[COPY3]](s32), [[COPY4]](s32), [[COPY5]](s32)
267 ; CHECK: $q0 = COPY [[BUILD_VECTOR]](<4 x s32>)
268 ; CHECK: RET_ReallyLR implicit $q0
269 %0:_(<4 x s32>) = COPY $q0
270 %1:_(<4 x s32>) = COPY $q1
271 %2:_(<4 x s32>) = G_FPOW %0, %1
272 $q0 = COPY %2(<4 x s32>)
273 RET_ReallyLR implicit $q0
279 tracksRegLiveness: true
284 ; CHECK-LABEL: name: test_v2f64.pow
285 ; CHECK: liveins: $q0, $q1
286 ; CHECK: [[COPY:%[0-9]+]]:_(<2 x s64>) = COPY $q0
287 ; CHECK: [[COPY1:%[0-9]+]]:_(<2 x s64>) = COPY $q1
288 ; CHECK: [[UV:%[0-9]+]]:_(s64), [[UV1:%[0-9]+]]:_(s64) = G_UNMERGE_VALUES [[COPY]](<2 x s64>)
289 ; CHECK: [[UV2:%[0-9]+]]:_(s64), [[UV3:%[0-9]+]]:_(s64) = G_UNMERGE_VALUES [[COPY1]](<2 x s64>)
290 ; CHECK: ADJCALLSTACKDOWN 0, 0, implicit-def $sp, implicit $sp
291 ; CHECK: $d0 = COPY [[UV]](s64)
292 ; CHECK: $d1 = COPY [[UV2]](s64)
293 ; CHECK: BL &pow, csr_aarch64_aapcs, implicit-def $lr, implicit $sp, implicit $d0, implicit $d1, implicit-def $d0
294 ; CHECK: [[COPY2:%[0-9]+]]:_(s64) = COPY $d0
295 ; CHECK: ADJCALLSTACKUP 0, 0, implicit-def $sp, implicit $sp
296 ; CHECK: ADJCALLSTACKDOWN 0, 0, implicit-def $sp, implicit $sp
297 ; CHECK: $d0 = COPY [[UV1]](s64)
298 ; CHECK: $d1 = COPY [[UV3]](s64)
299 ; CHECK: BL &pow, csr_aarch64_aapcs, implicit-def $lr, implicit $sp, implicit $d0, implicit $d1, implicit-def $d0
300 ; CHECK: [[COPY3:%[0-9]+]]:_(s64) = COPY $d0
301 ; CHECK: ADJCALLSTACKUP 0, 0, implicit-def $sp, implicit $sp
302 ; CHECK: [[BUILD_VECTOR:%[0-9]+]]:_(<2 x s64>) = G_BUILD_VECTOR [[COPY2]](s64), [[COPY3]](s64)
303 ; CHECK: $q0 = COPY [[BUILD_VECTOR]](<2 x s64>)
304 ; CHECK: RET_ReallyLR implicit $q0
305 %0:_(<2 x s64>) = COPY $q0
306 %1:_(<2 x s64>) = COPY $q1
307 %2:_(<2 x s64>) = G_FPOW %0, %1
308 $q0 = COPY %2(<2 x s64>)
309 RET_ReallyLR implicit $q0