1 # NOTE: Assertions have been autogenerated by utils/update_mir_test_checks.py
2 # RUN: llc -run-pass=early-tailduplication %s -o - | FileCheck %s
4 target datalayout = "e-m:e-i8:8:32-i16:16:32-i64:64-i128:128-n32:64-S128"
5 target triple = "aarch64-none-linux-gnu"
7 define void @ham() gc "statepoint-example" personality i32* ()* @baz {
9 switch i32 undef, label %bb4 [
15 %tmp = call token (i64, i32, void (i32)*, i32, i32, ...) @llvm.experimental.gc.statepoint.p0f_isVoidi32f(i64 2882400000, i32 0, void (i32)* nonnull elementtype(void (i32)) @wombat, i32 1, i32 0, i32 10, i32 0, i32 0) [ "deopt"(), "gc-live"() ]
19 %tmp3 = call token (i64, i32, void (i32)*, i32, i32, ...) @llvm.experimental.gc.statepoint.p0f_isVoidi32f(i64 2882400000, i32 0, void (i32)* nonnull elementtype(void (i32)) @wombat, i32 1, i32 0, i32 10, i32 0, i32 0) [ "deopt"(), "gc-live"() ]
23 %tmp5 = call token (i64, i32, i8 addrspace(1)* (i8 addrspace(1)*)*, i32, i32, ...) @llvm.experimental.gc.statepoint.p0f_p1i8p1i8f(i64 2882400000, i32 0, i8 addrspace(1)* (i8 addrspace(1)*)* elementtype(i8 addrspace(1)* (i8 addrspace(1)*)) undef, i32 1, i32 0, i8 addrspace(1)* nonnull undef, i32 0, i32 0) [ "deopt"(), "gc-live"() ]
24 %tmp10 = call token (i64, i32, i8 addrspace(1)* (i8 addrspace(1)*)*, i32, i32, ...) @llvm.experimental.gc.statepoint.p0f_p1i8p1i8f(i64 2, i32 4, i8 addrspace(1)* (i8 addrspace(1)*)* nonnull elementtype(i8 addrspace(1)* (i8 addrspace(1)*)) @barney, i32 1, i32 0, i8 addrspace(1)* nonnull undef, i32 0, i32 0) [ "deopt"(), "gc-live"() ]
25 br i1 undef, label %bb40, label %bb24
28 switch i32 undef, label %bb35 [
35 %tmp26 = call token (i64, i32, i8 addrspace(1)* (i8 addrspace(1)*)*, i32, i32, ...) @llvm.experimental.gc.statepoint.p0f_p1i8p1i8f(i64 2, i32 4, i8 addrspace(1)* (i8 addrspace(1)*)* nonnull elementtype(i8 addrspace(1)* (i8 addrspace(1)*)) @wobble, i32 1, i32 0, i8 addrspace(1)* nonnull undef, i32 0, i32 0) [ "deopt"(), "gc-live"(i8 addrspace(1)* null) ]
36 %tmp27 = call align 8 i8 addrspace(1)* @llvm.experimental.gc.result.p1i8(token %tmp26)
37 %tmp28 = call coldcc i8 addrspace(1)* @llvm.experimental.gc.relocate.p1i8(token %tmp26, i32 0, i32 0) ; (null, null)
41 %tmp30 = call token (i64, i32, i8 addrspace(1)* (i8 addrspace(1)*)*, i32, i32, ...) @llvm.experimental.gc.statepoint.p0f_p1i8p1i8f(i64 2, i32 4, i8 addrspace(1)* (i8 addrspace(1)*)* nonnull elementtype(i8 addrspace(1)* (i8 addrspace(1)*)) @bar, i32 1, i32 0, i8 addrspace(1)* nonnull undef, i32 0, i32 0) [ "deopt"(), "gc-live"() ]
45 %tmp32 = call token (i64, i32, void (i32)*, i32, i32, ...) @llvm.experimental.gc.statepoint.p0f_isVoidi32f(i64 2882400000, i32 0, void (i32)* nonnull elementtype(void (i32)) @wombat, i32 1, i32 0, i32 10, i32 0, i32 0) [ "deopt"(), "gc-live"() ]
51 bb36: ; preds = %bb29, %bb25
52 %tmp37 = phi i8 addrspace(1)* [ undef, %bb29 ], [ %tmp28, %bb25 ]
53 %tmp38 = phi i8 addrspace(1)* [ undef, %bb29 ], [ %tmp27, %bb25 ]
54 %tmp39 = icmp eq i8 addrspace(1)* %tmp38, null
55 br i1 %tmp39, label %bb51, label %bb42
58 %tmp41 = call token (i64, i32, void (i32)*, i32, i32, ...) @llvm.experimental.gc.statepoint.p0f_isVoidi32f(i64 2882400000, i32 0, void (i32)* nonnull elementtype(void (i32)) @wombat, i32 1, i32 0, i32 10, i32 0, i32 0) [ "deopt"(), "gc-live"() ]
62 %tmp46 = icmp eq i32 undef, 1381
63 %or.cond = select i1 undef, i1 true, i1 %tmp46
64 br i1 %or.cond, label %bb49, label %bb47
67 %tmp48 = call token (i64, i32, void (i32)*, i32, i32, ...) @llvm.experimental.gc.statepoint.p0f_isVoidi32f(i64 2882400000, i32 0, void (i32)* nonnull elementtype(void (i32)) @wombat, i32 1, i32 0, i32 14, i32 0, i32 0) [ "deopt"(i8 addrspace(1)* %tmp37, i8 addrspace(1)* %tmp38), "gc-live"() ]
71 %tmp50 = call token (i64, i32, void (i32)*, i32, i32, ...) @llvm.experimental.gc.statepoint.p0f_isVoidi32f(i64 2882400000, i32 0, void (i32)* nonnull elementtype(void (i32)) @wombat, i32 1, i32 0, i32 10, i32 0, i32 0) [ "deopt"(i8 addrspace(1)* %tmp37, i8 addrspace(1)* %tmp38, i8 addrspace(1)* %tmp38), "gc-live"() ]
75 %tmp52 = call token (i64, i32, void (i32)*, i32, i32, ...) @llvm.experimental.gc.statepoint.p0f_isVoidi32f(i64 2882400000, i32 0, void (i32)* nonnull elementtype(void (i32)) @wombat, i32 1, i32 0, i32 24, i32 0, i32 0) [ "deopt"(i8 addrspace(1)* %tmp37), "gc-live"() ]
81 declare i8 addrspace(1)* @barney(i8 addrspace(1)*)
83 declare i8 addrspace(1)* @wobble(i8 addrspace(1)*)
85 declare i8 addrspace(1)* @bar(i8 addrspace(1)*)
87 declare i8 addrspace(1)* @llvm.experimental.gc.relocate.p1i8(token, i32 immarg, i32 immarg) #0
89 declare i8 addrspace(1)* @llvm.experimental.gc.result.p1i8(token) #0
91 declare void @wombat(i32)
93 declare token @llvm.experimental.gc.statepoint.p0f_isVoidi32f(i64 immarg, i32 immarg, void (i32)*, i32 immarg, i32 immarg, ...)
95 declare token @llvm.experimental.gc.statepoint.p0f_p1i8p1i8f(i64 immarg, i32 immarg, i8 addrspace(1)* (i8 addrspace(1)*)*, i32 immarg, i32 immarg, ...)
97 attributes #0 = { nounwind readnone }
103 exposesReturnsTwice: false
105 regBankSelected: false
108 tracksRegLiveness: true
111 callsUnwindInit: false
115 failsVerification: false
116 tracksDebugUserValues: false
118 - { id: 0, class: gpr64all, preferred-register: '' }
119 - { id: 1, class: gpr64all, preferred-register: '' }
120 - { id: 2, class: gpr64all, preferred-register: '' }
121 - { id: 3, class: gpr64, preferred-register: '' }
122 - { id: 4, class: gpr32, preferred-register: '' }
123 - { id: 5, class: gpr32, preferred-register: '' }
124 - { id: 6, class: gpr32, preferred-register: '' }
125 - { id: 7, class: gpr32, preferred-register: '' }
126 - { id: 8, class: gpr64all, preferred-register: '' }
127 - { id: 9, class: gpr64all, preferred-register: '' }
128 - { id: 10, class: gpr64all, preferred-register: '' }
129 - { id: 11, class: gpr64all, preferred-register: '' }
130 - { id: 12, class: gpr64all, preferred-register: '' }
131 - { id: 13, class: gpr64all, preferred-register: '' }
132 - { id: 14, class: gpr32, preferred-register: '' }
133 - { id: 15, class: gpr32, preferred-register: '' }
134 - { id: 16, class: gpr32, preferred-register: '' }
135 - { id: 17, class: gpr32, preferred-register: '' }
136 - { id: 18, class: gpr64all, preferred-register: '' }
137 - { id: 19, class: gpr64all, preferred-register: '' }
138 - { id: 20, class: gpr64all, preferred-register: '' }
139 - { id: 21, class: gpr64all, preferred-register: '' }
140 - { id: 22, class: gpr64all, preferred-register: '' }
141 - { id: 23, class: gpr64all, preferred-register: '' }
142 - { id: 24, class: gpr64all, preferred-register: '' }
143 - { id: 25, class: gpr64all, preferred-register: '' }
144 - { id: 26, class: gpr32, preferred-register: '' }
145 - { id: 27, class: gpr32, preferred-register: '' }
146 - { id: 28, class: gpr32, preferred-register: '' }
147 - { id: 29, class: gpr64all, preferred-register: '' }
148 - { id: 30, class: gpr64all, preferred-register: '' }
149 - { id: 31, class: gpr32, preferred-register: '' }
150 - { id: 32, class: gpr64all, preferred-register: '' }
151 - { id: 33, class: gpr64all, preferred-register: '' }
152 - { id: 34, class: gpr32, preferred-register: '' }
153 - { id: 35, class: gpr64all, preferred-register: '' }
154 - { id: 36, class: gpr32, preferred-register: '' }
157 isFrameAddressTaken: false
158 isReturnAddressTaken: false
169 cvBytesOfCalleeSavedRegisters: 0
170 hasOpaqueSPAdjustment: false
172 hasMustTailInVarArgFunc: false
180 debugValueSubstitutions: []
182 machineFunctionInfo: {}
184 ; CHECK-LABEL: name: ham
186 ; CHECK-NEXT: successors: %bb.3(0x2aaaaaab), %bb.1(0x55555555)
188 ; CHECK-NEXT: [[COPY:%[0-9]+]]:gpr32 = COPY $wzr
189 ; CHECK-NEXT: CBNZW [[COPY]], %bb.3
190 ; CHECK-NEXT: B %bb.1
192 ; CHECK-NEXT: bb.1.bb:
193 ; CHECK-NEXT: successors: %bb.2(0x40000001), %bb.4(0x3fffffff)
195 ; CHECK-NEXT: [[COPY1:%[0-9]+]]:gpr32 = COPY $wzr
196 ; CHECK-NEXT: CBNZW [[COPY1]], %bb.4
197 ; CHECK-NEXT: B %bb.2
199 ; CHECK-NEXT: bb.2.bb1:
200 ; CHECK-NEXT: successors:
202 ; CHECK-NEXT: ADJCALLSTACKDOWN 0, 0, implicit-def dead $sp, implicit $sp
203 ; CHECK-NEXT: [[MOVi32imm:%[0-9]+]]:gpr32 = MOVi32imm 10
204 ; CHECK-NEXT: $w0 = COPY [[MOVi32imm]]
205 ; CHECK-NEXT: STATEPOINT 2882400000, 0, 1, @wombat, $w0, 2, 0, 2, 0, 2, 0, 2, 0, 2, 0, 2, 0, csr_aarch64_aapcs, implicit-def $sp, implicit-def dead early-clobber $lr
206 ; CHECK-NEXT: ADJCALLSTACKUP 0, 0, implicit-def dead $sp, implicit $sp
208 ; CHECK-NEXT: bb.3.bb2:
209 ; CHECK-NEXT: successors:
211 ; CHECK-NEXT: ADJCALLSTACKDOWN 0, 0, implicit-def dead $sp, implicit $sp
212 ; CHECK-NEXT: [[MOVi32imm1:%[0-9]+]]:gpr32 = MOVi32imm 10
213 ; CHECK-NEXT: $w0 = COPY [[MOVi32imm1]]
214 ; CHECK-NEXT: STATEPOINT 2882400000, 0, 1, @wombat, $w0, 2, 0, 2, 0, 2, 0, 2, 0, 2, 0, 2, 0, csr_aarch64_aapcs, implicit-def $sp, implicit-def dead early-clobber $lr
215 ; CHECK-NEXT: ADJCALLSTACKUP 0, 0, implicit-def dead $sp, implicit $sp
217 ; CHECK-NEXT: bb.4.bb4:
218 ; CHECK-NEXT: successors: %bb.13(0x40000000), %bb.5(0x40000000)
220 ; CHECK-NEXT: ADJCALLSTACKDOWN 0, 0, implicit-def dead $sp, implicit $sp
221 ; CHECK-NEXT: [[DEF:%[0-9]+]]:gpr64all = IMPLICIT_DEF
222 ; CHECK-NEXT: $x0 = COPY [[DEF]]
223 ; CHECK-NEXT: [[DEF1:%[0-9]+]]:gpr64all = IMPLICIT_DEF
224 ; CHECK-NEXT: STATEPOINT 2882400000, 0, 1, [[DEF1]], $x0, 2, 0, 2, 0, 2, 0, 2, 0, 2, 0, 2, 0, csr_aarch64_aapcs, implicit-def $sp, implicit-def $x0, implicit-def dead early-clobber $lr
225 ; CHECK-NEXT: ADJCALLSTACKUP 0, 0, implicit-def dead $sp, implicit $sp
226 ; CHECK-NEXT: [[COPY2:%[0-9]+]]:gpr64all = COPY $x0
227 ; CHECK-NEXT: ADJCALLSTACKDOWN 0, 0, implicit-def dead $sp, implicit $sp
228 ; CHECK-NEXT: [[DEF2:%[0-9]+]]:gpr64all = IMPLICIT_DEF
229 ; CHECK-NEXT: $x0 = COPY [[DEF2]]
230 ; CHECK-NEXT: [[DEF3:%[0-9]+]]:gpr64all = IMPLICIT_DEF
231 ; CHECK-NEXT: STATEPOINT 2, 4, 1, [[DEF3]], $x0, 2, 0, 2, 0, 2, 0, 2, 0, 2, 0, 2, 0, csr_aarch64_aapcs, implicit-def $sp, implicit-def $x0, implicit-def dead early-clobber $lr
232 ; CHECK-NEXT: ADJCALLSTACKUP 0, 0, implicit-def dead $sp, implicit $sp
233 ; CHECK-NEXT: [[COPY3:%[0-9]+]]:gpr64all = COPY $x0
234 ; CHECK-NEXT: [[COPY4:%[0-9]+]]:gpr32 = COPY $wzr
235 ; CHECK-NEXT: CBNZW [[COPY4]], %bb.13
236 ; CHECK-NEXT: B %bb.5
238 ; CHECK-NEXT: bb.5.bb24:
239 ; CHECK-NEXT: successors: %bb.10(0x20000000), %bb.6(0x60000000)
241 ; CHECK-NEXT: [[COPY5:%[0-9]+]]:gpr32 = COPY $wzr
242 ; CHECK-NEXT: CBNZW [[COPY5]], %bb.10
243 ; CHECK-NEXT: B %bb.6
245 ; CHECK-NEXT: bb.6.bb24:
246 ; CHECK-NEXT: successors: %bb.9(0x2aaaaaab), %bb.7(0x55555555)
248 ; CHECK-NEXT: [[COPY6:%[0-9]+]]:gpr32 = COPY $wzr
249 ; CHECK-NEXT: CBNZW [[COPY6]], %bb.9
250 ; CHECK-NEXT: B %bb.7
252 ; CHECK-NEXT: bb.7.bb24:
253 ; CHECK-NEXT: successors: %bb.8(0x80000000)
255 ; CHECK-NEXT: bb.8.bb25:
256 ; CHECK-NEXT: successors: %bb.18(0x30000000), %bb.14(0x50000000)
258 ; CHECK-NEXT: ADJCALLSTACKDOWN 0, 0, implicit-def dead $sp, implicit $sp
259 ; CHECK-NEXT: [[DEF4:%[0-9]+]]:gpr64all = IMPLICIT_DEF
260 ; CHECK-NEXT: $x0 = COPY [[DEF4]]
261 ; CHECK-NEXT: [[DEF5:%[0-9]+]]:gpr64all = IMPLICIT_DEF
262 ; CHECK-NEXT: STATEPOINT 2, 4, 1, [[DEF5]], $x0, 2, 0, 2, 0, 2, 0, 2, 1, 2, 0, 2, 0, 2, 1, 0, 0, csr_aarch64_aapcs, implicit-def $sp, implicit-def $x0, implicit-def dead early-clobber $lr
263 ; CHECK-NEXT: ADJCALLSTACKUP 0, 0, implicit-def dead $sp, implicit $sp
264 ; CHECK-NEXT: [[COPY7:%[0-9]+]]:gpr64all = COPY $x0
265 ; CHECK-NEXT: [[COPY8:%[0-9]+]]:gpr64 = COPY [[COPY7]]
266 ; CHECK-NEXT: [[COPY9:%[0-9]+]]:gpr64all = COPY $xzr
267 ; CHECK-NEXT: [[COPY10:%[0-9]+]]:gpr64all = COPY [[COPY9]]
268 ; CHECK-NEXT: [[COPY11:%[0-9]+]]:gpr64 = COPY [[COPY8]]
269 ; CHECK-NEXT: CBZX [[COPY8]], %bb.18
270 ; CHECK-NEXT: B %bb.14
272 ; CHECK-NEXT: bb.9.bb29:
273 ; CHECK-NEXT: successors: %bb.18(0x30000000), %bb.14(0x50000000)
275 ; CHECK-NEXT: ADJCALLSTACKDOWN 0, 0, implicit-def dead $sp, implicit $sp
276 ; CHECK-NEXT: [[DEF6:%[0-9]+]]:gpr64all = IMPLICIT_DEF
277 ; CHECK-NEXT: $x0 = COPY [[DEF6]]
278 ; CHECK-NEXT: [[DEF7:%[0-9]+]]:gpr64all = IMPLICIT_DEF
279 ; CHECK-NEXT: STATEPOINT 2, 4, 1, [[DEF7]], $x0, 2, 0, 2, 0, 2, 0, 2, 0, 2, 0, 2, 0, csr_aarch64_aapcs, implicit-def $sp, implicit-def $x0, implicit-def dead early-clobber $lr
280 ; CHECK-NEXT: ADJCALLSTACKUP 0, 0, implicit-def dead $sp, implicit $sp
281 ; CHECK-NEXT: [[COPY12:%[0-9]+]]:gpr64all = COPY $x0
282 ; CHECK-NEXT: [[DEF8:%[0-9]+]]:gpr64 = IMPLICIT_DEF
283 ; CHECK-NEXT: [[COPY13:%[0-9]+]]:gpr64all = COPY [[DEF8]]
284 ; CHECK-NEXT: [[COPY14:%[0-9]+]]:gpr64 = COPY [[DEF8]]
285 ; CHECK-NEXT: CBZX [[DEF8]], %bb.18
286 ; CHECK-NEXT: B %bb.14
288 ; CHECK-NEXT: bb.10.bb31:
289 ; CHECK-NEXT: successors:
291 ; CHECK-NEXT: ADJCALLSTACKDOWN 0, 0, implicit-def dead $sp, implicit $sp
292 ; CHECK-NEXT: [[MOVi32imm2:%[0-9]+]]:gpr32 = MOVi32imm 10
293 ; CHECK-NEXT: $w0 = COPY [[MOVi32imm2]]
294 ; CHECK-NEXT: STATEPOINT 2882400000, 0, 1, @wombat, $w0, 2, 0, 2, 0, 2, 0, 2, 0, 2, 0, 2, 0, csr_aarch64_aapcs, implicit-def $sp, implicit-def dead early-clobber $lr
295 ; CHECK-NEXT: ADJCALLSTACKUP 0, 0, implicit-def dead $sp, implicit $sp
297 ; CHECK-NEXT: bb.11.bb35:
298 ; CHECK-NEXT: successors:
300 ; CHECK-NEXT: bb.13.bb40:
301 ; CHECK-NEXT: successors:
303 ; CHECK-NEXT: ADJCALLSTACKDOWN 0, 0, implicit-def dead $sp, implicit $sp
304 ; CHECK-NEXT: [[MOVi32imm3:%[0-9]+]]:gpr32 = MOVi32imm 10
305 ; CHECK-NEXT: $w0 = COPY [[MOVi32imm3]]
306 ; CHECK-NEXT: STATEPOINT 2882400000, 0, 1, @wombat, $w0, 2, 0, 2, 0, 2, 0, 2, 0, 2, 0, 2, 0, csr_aarch64_aapcs, implicit-def $sp, implicit-def dead early-clobber $lr
307 ; CHECK-NEXT: ADJCALLSTACKUP 0, 0, implicit-def dead $sp, implicit $sp
309 ; CHECK-NEXT: bb.14.bb42:
310 ; CHECK-NEXT: successors: %bb.17(0x20000000), %bb.15(0x60000000)
312 ; CHECK-NEXT: [[PHI:%[0-9]+]]:gpr64 = PHI [[COPY11]], %bb.8, [[COPY14]], %bb.9
313 ; CHECK-NEXT: [[PHI1:%[0-9]+]]:gpr64all = PHI [[COPY10]], %bb.8, [[COPY13]], %bb.9
314 ; CHECK-NEXT: [[COPY15:%[0-9]+]]:gpr32 = COPY $wzr
315 ; CHECK-NEXT: CBNZW [[COPY15]], %bb.17
316 ; CHECK-NEXT: B %bb.15
318 ; CHECK-NEXT: bb.15.bb42:
319 ; CHECK-NEXT: successors: %bb.17(0x2aaaaaab), %bb.16(0x55555555)
321 ; CHECK-NEXT: [[COPY16:%[0-9]+]]:gpr32 = COPY $wzr
322 ; CHECK-NEXT: CBNZW [[COPY16]], %bb.17
323 ; CHECK-NEXT: B %bb.16
325 ; CHECK-NEXT: bb.16.bb47:
326 ; CHECK-NEXT: successors:
328 ; CHECK-NEXT: ADJCALLSTACKDOWN 0, 0, implicit-def dead $sp, implicit $sp
329 ; CHECK-NEXT: [[MOVi32imm4:%[0-9]+]]:gpr32 = MOVi32imm 14
330 ; CHECK-NEXT: $w0 = COPY [[MOVi32imm4]]
331 ; CHECK-NEXT: [[STATEPOINT:%[0-9]+]]:gpr64all, [[STATEPOINT1:%[0-9]+]]:gpr64all = STATEPOINT 2882400000, 0, 1, @wombat, $w0, 2, 0, 2, 0, 2, 2, [[PHI1]], [[PHI]], 2, 2, [[PHI1]](tied-def 0), [[PHI]](tied-def 1), 2, 0, 2, 2, 0, 0, 1, 1, csr_aarch64_aapcs, implicit-def $sp, implicit-def dead early-clobber $lr
332 ; CHECK-NEXT: ADJCALLSTACKUP 0, 0, implicit-def dead $sp, implicit $sp
334 ; CHECK-NEXT: bb.17.bb49:
335 ; CHECK-NEXT: successors:
337 ; CHECK-NEXT: ADJCALLSTACKDOWN 0, 0, implicit-def dead $sp, implicit $sp
338 ; CHECK-NEXT: [[MOVi32imm5:%[0-9]+]]:gpr32 = MOVi32imm 10
339 ; CHECK-NEXT: $w0 = COPY [[MOVi32imm5]]
340 ; CHECK-NEXT: [[STATEPOINT2:%[0-9]+]]:gpr64all, [[STATEPOINT3:%[0-9]+]]:gpr64all = STATEPOINT 2882400000, 0, 1, @wombat, $w0, 2, 0, 2, 0, 2, 3, [[PHI1]], [[PHI]], [[PHI]], 2, 2, [[PHI1]](tied-def 0), [[PHI]](tied-def 1), 2, 0, 2, 2, 0, 0, 1, 1, csr_aarch64_aapcs, implicit-def $sp, implicit-def dead early-clobber $lr
341 ; CHECK-NEXT: ADJCALLSTACKUP 0, 0, implicit-def dead $sp, implicit $sp
343 ; CHECK-NEXT: bb.18.bb51:
344 ; CHECK-NEXT: [[PHI2:%[0-9]+]]:gpr64all = PHI [[COPY10]], %bb.8, [[COPY13]], %bb.9
345 ; CHECK-NEXT: ADJCALLSTACKDOWN 0, 0, implicit-def dead $sp, implicit $sp
346 ; CHECK-NEXT: [[MOVi32imm6:%[0-9]+]]:gpr32 = MOVi32imm 24
347 ; CHECK-NEXT: $w0 = COPY [[MOVi32imm6]]
348 ; CHECK-NEXT: [[STATEPOINT4:%[0-9]+]]:gpr64all = STATEPOINT 2882400000, 0, 1, @wombat, $w0, 2, 0, 2, 0, 2, 1, [[PHI2]], 2, 1, [[PHI2]](tied-def 0), 2, 0, 2, 1, 0, 0, csr_aarch64_aapcs, implicit-def $sp, implicit-def dead early-clobber $lr
349 ; CHECK-NEXT: ADJCALLSTACKUP 0, 0, implicit-def dead $sp, implicit $sp
351 successors: %bb.2(0x2aaaaaab), %bb.15(0x55555555)
358 successors: %bb.1(0x40000001), %bb.3(0x3fffffff)
367 ADJCALLSTACKDOWN 0, 0, implicit-def dead $sp, implicit $sp
368 %7:gpr32 = MOVi32imm 10
370 STATEPOINT 2882400000, 0, 1, @wombat, $w0, 2, 0, 2, 0, 2, 0, 2, 0, 2, 0, 2, 0, csr_aarch64_aapcs, implicit-def $sp, implicit-def dead early-clobber $lr
371 ADJCALLSTACKUP 0, 0, implicit-def dead $sp, implicit $sp
376 ADJCALLSTACKDOWN 0, 0, implicit-def dead $sp, implicit $sp
377 %6:gpr32 = MOVi32imm 10
379 STATEPOINT 2882400000, 0, 1, @wombat, $w0, 2, 0, 2, 0, 2, 0, 2, 0, 2, 0, 2, 0, csr_aarch64_aapcs, implicit-def $sp, implicit-def dead early-clobber $lr
380 ADJCALLSTACKUP 0, 0, implicit-def dead $sp, implicit $sp
383 successors: %bb.10(0x40000000), %bb.4(0x40000000)
385 ADJCALLSTACKDOWN 0, 0, implicit-def dead $sp, implicit $sp
386 %8:gpr64all = IMPLICIT_DEF
388 %9:gpr64all = IMPLICIT_DEF
389 STATEPOINT 2882400000, 0, 1, %9, $x0, 2, 0, 2, 0, 2, 0, 2, 0, 2, 0, 2, 0, csr_aarch64_aapcs, implicit-def $sp, implicit-def $x0, implicit-def dead early-clobber $lr
390 ADJCALLSTACKUP 0, 0, implicit-def dead $sp, implicit $sp
391 %10:gpr64all = COPY $x0
392 ADJCALLSTACKDOWN 0, 0, implicit-def dead $sp, implicit $sp
393 %11:gpr64all = IMPLICIT_DEF
395 %12:gpr64all = IMPLICIT_DEF
396 STATEPOINT 2, 4, 1, %12, $x0, 2, 0, 2, 0, 2, 0, 2, 0, 2, 0, 2, 0, csr_aarch64_aapcs, implicit-def $sp, implicit-def $x0, implicit-def dead early-clobber $lr
397 ADJCALLSTACKUP 0, 0, implicit-def dead $sp, implicit $sp
398 %13:gpr64all = COPY $x0
399 %14:gpr32 = COPY $wzr
404 successors: %bb.7(0x20000000), %bb.16(0x60000000)
406 %15:gpr32 = COPY $wzr
411 successors: %bb.6(0x2aaaaaab), %bb.17(0x55555555)
413 %16:gpr32 = COPY $wzr
418 successors: %bb.5(0x80000000)
422 successors: %bb.9(0x80000000)
424 ADJCALLSTACKDOWN 0, 0, implicit-def dead $sp, implicit $sp
425 %22:gpr64all = IMPLICIT_DEF
427 %23:gpr64all = IMPLICIT_DEF
428 STATEPOINT 2, 4, 1, %23, $x0, 2, 0, 2, 0, 2, 0, 2, 1, 2, 0, 2, 0, 2, 1, 0, 0, csr_aarch64_aapcs, implicit-def $sp, implicit-def $x0, implicit-def dead early-clobber $lr
429 ADJCALLSTACKUP 0, 0, implicit-def dead $sp, implicit $sp
430 %24:gpr64all = COPY $x0
431 %0:gpr64all = COPY %24
432 %25:gpr64all = COPY $xzr
433 %1:gpr64all = COPY %25
437 successors: %bb.9(0x80000000)
439 ADJCALLSTACKDOWN 0, 0, implicit-def dead $sp, implicit $sp
440 %19:gpr64all = IMPLICIT_DEF
442 %20:gpr64all = IMPLICIT_DEF
443 STATEPOINT 2, 4, 1, %20, $x0, 2, 0, 2, 0, 2, 0, 2, 0, 2, 0, 2, 0, csr_aarch64_aapcs, implicit-def $sp, implicit-def $x0, implicit-def dead early-clobber $lr
444 ADJCALLSTACKUP 0, 0, implicit-def dead $sp, implicit $sp
445 %21:gpr64all = COPY $x0
446 %18:gpr64all = IMPLICIT_DEF
452 ADJCALLSTACKDOWN 0, 0, implicit-def dead $sp, implicit $sp
453 %17:gpr32 = MOVi32imm 10
455 STATEPOINT 2882400000, 0, 1, @wombat, $w0, 2, 0, 2, 0, 2, 0, 2, 0, 2, 0, 2, 0, csr_aarch64_aapcs, implicit-def $sp, implicit-def dead early-clobber $lr
456 ADJCALLSTACKUP 0, 0, implicit-def dead $sp, implicit $sp
463 successors: %bb.14(0x30000000), %bb.11(0x50000000)
465 %2:gpr64all = PHI %18, %bb.6, %1, %bb.5
466 %3:gpr64 = PHI %18, %bb.6, %0, %bb.5
473 ADJCALLSTACKDOWN 0, 0, implicit-def dead $sp, implicit $sp
474 %36:gpr32 = MOVi32imm 10
476 STATEPOINT 2882400000, 0, 1, @wombat, $w0, 2, 0, 2, 0, 2, 0, 2, 0, 2, 0, 2, 0, csr_aarch64_aapcs, implicit-def $sp, implicit-def dead early-clobber $lr
477 ADJCALLSTACKUP 0, 0, implicit-def dead $sp, implicit $sp
480 successors: %bb.13(0x20000000), %bb.18(0x60000000)
482 %26:gpr32 = COPY $wzr
487 successors: %bb.13(0x2aaaaaab), %bb.12(0x55555555)
489 %27:gpr32 = COPY $wzr
496 ADJCALLSTACKDOWN 0, 0, implicit-def dead $sp, implicit $sp
497 %28:gpr32 = MOVi32imm 14
499 %29:gpr64all, %30:gpr64all = STATEPOINT 2882400000, 0, 1, @wombat, $w0, 2, 0, 2, 0, 2, 2, %2, %3, 2, 2, %2(tied-def 0), %3(tied-def 1), 2, 0, 2, 2, 0, 0, 1, 1, csr_aarch64_aapcs, implicit-def $sp, implicit-def dead early-clobber $lr
500 ADJCALLSTACKUP 0, 0, implicit-def dead $sp, implicit $sp
505 ADJCALLSTACKDOWN 0, 0, implicit-def dead $sp, implicit $sp
506 %31:gpr32 = MOVi32imm 10
508 %32:gpr64all, %33:gpr64all = STATEPOINT 2882400000, 0, 1, @wombat, $w0, 2, 0, 2, 0, 2, 3, %2, %3, %3, 2, 2, %2(tied-def 0), %3(tied-def 1), 2, 0, 2, 2, 0, 0, 1, 1, csr_aarch64_aapcs, implicit-def $sp, implicit-def dead early-clobber $lr
509 ADJCALLSTACKUP 0, 0, implicit-def dead $sp, implicit $sp
512 ADJCALLSTACKDOWN 0, 0, implicit-def dead $sp, implicit $sp
513 %34:gpr32 = MOVi32imm 24
515 %35:gpr64all = STATEPOINT 2882400000, 0, 1, @wombat, $w0, 2, 0, 2, 0, 2, 1, %2, 2, 1, %2(tied-def 0), 2, 0, 2, 1, 0, 0, csr_aarch64_aapcs, implicit-def $sp, implicit-def dead early-clobber $lr
516 ADJCALLSTACKUP 0, 0, implicit-def dead $sp, implicit $sp