1 # NOTE: Assertions have been autogenerated by utils/update_mir_test_checks.py
2 # RUN: llc -run-pass=arm-ldst-opt %s -o - | FileCheck %s
5 target datalayout = "e-m:e-p:32:32-Fi8-i64:64-v128:64:128-a:0:32-n32-S64"
6 target triple = "thumbv7m-none-unknown-eabi"
8 define ptr @STR_pre4(ptr %p, i32 %v) { unreachable }
9 define ptr @STR_pre8(ptr %p, i32 %v) { unreachable }
10 define ptr @STR_pre255(ptr %p, i32 %v) { unreachable }
11 define ptr @STR_pre256(ptr %p, i32 %v) { unreachable }
13 define ptr @STRD_pre4(ptr %p, i32 %v) { unreachable }
14 define ptr @STRD_pre8(ptr %p, i32 %v) { unreachable }
15 define ptr @STRD_pre255(ptr %p, i32 %v) { unreachable }
16 define ptr @STRD_pre256(ptr %p, i32 %v) { unreachable }
17 define ptr @STRD_pre1020(ptr %p, i32 %v) { unreachable }
18 define ptr @STRD_pre1024(ptr %p, i32 %v) { unreachable }
19 define ptr @STRD_prem4(ptr %p, i32 %v) { unreachable }
20 define ptr @STRD_prem8(ptr %p, i32 %v) { unreachable }
21 define ptr @STRD_prem255(ptr %p, i32 %v) { unreachable }
22 define ptr @STRD_prem256(ptr %p, i32 %v) { unreachable }
23 define ptr @STRD_prem1020(ptr %p, i32 %v) { unreachable }
24 define ptr @STRD_prem1024(ptr %p, i32 %v) { unreachable }
26 define ptr @STR_post4(ptr %p, i32 %v) { unreachable }
27 define ptr @STR_post8(ptr %p, i32 %v) { unreachable }
28 define ptr @STR_post255(ptr %p, i32 %v) { unreachable }
29 define ptr @STR_post256(ptr %p, i32 %v) { unreachable }
31 define ptr @STRD_post4(ptr %p, i32 %v) { unreachable }
32 define ptr @STRD_post8(ptr %p, i32 %v) { unreachable }
33 define ptr @STRD_post255(ptr %p, i32 %v) { unreachable }
34 define ptr @STRD_post256(ptr %p, i32 %v) { unreachable }
35 define ptr @STRD_post1020(ptr %p, i32 %v) { unreachable }
36 define ptr @STRD_post1024(ptr %p, i32 %v) { unreachable }
37 define ptr @STRD_postm4(ptr %p, i32 %v) { unreachable }
38 define ptr @STRD_postm8(ptr %p, i32 %v) { unreachable }
39 define ptr @STRD_postm255(ptr %p, i32 %v) { unreachable }
40 define ptr @STRD_postm256(ptr %p, i32 %v) { unreachable }
41 define ptr @STRD_postm1020(ptr %p, i32 %v) { unreachable }
42 define ptr @STRD_postm1024(ptr %p, i32 %v) { unreachable }
48 tracksRegLiveness: true
50 - { reg: '$r0', virtual-reg: '' }
51 - { reg: '$r1', virtual-reg: '' }
56 ; CHECK-LABEL: name: STR_pre4
57 ; CHECK: liveins: $r0, $r1
59 ; CHECK-NEXT: early-clobber $r0 = t2STR_PRE killed $r1, $r0, 4, 14 /* CC::al */, $noreg :: (store (s32))
60 ; CHECK-NEXT: tBX_RET 14 /* CC::al */, $noreg, implicit $r0
61 renamable $r0 = nuw t2ADDri killed renamable $r0, 4, 14 /* CC::al */, $noreg, $noreg
62 t2STRi12 killed renamable $r1, renamable $r0, 0, 14 /* CC::al */, $noreg :: (store (s32))
63 tBX_RET 14 /* CC::al */, $noreg, implicit $r0
69 tracksRegLiveness: true
71 - { reg: '$r0', virtual-reg: '' }
72 - { reg: '$r1', virtual-reg: '' }
77 ; CHECK-LABEL: name: STR_pre8
78 ; CHECK: liveins: $r0, $r1
80 ; CHECK-NEXT: renamable $r0 = nuw t2ADDri killed renamable $r0, 8, 14 /* CC::al */, $noreg, $noreg
81 ; CHECK-NEXT: t2STRi12 killed renamable $r1, renamable $r0, 0, 14 /* CC::al */, $noreg :: (store (s32))
82 ; CHECK-NEXT: tBX_RET 14 /* CC::al */, $noreg, implicit $r0
83 renamable $r0 = nuw t2ADDri killed renamable $r0, 8, 14 /* CC::al */, $noreg, $noreg
84 t2STRi12 killed renamable $r1, renamable $r0, 0, 14 /* CC::al */, $noreg :: (store (s32))
85 tBX_RET 14 /* CC::al */, $noreg, implicit $r0
91 tracksRegLiveness: true
93 - { reg: '$r0', virtual-reg: '' }
94 - { reg: '$r1', virtual-reg: '' }
99 ; CHECK-LABEL: name: STR_pre255
100 ; CHECK: liveins: $r0, $r1
102 ; CHECK-NEXT: renamable $r0 = nuw t2ADDri killed renamable $r0, 255, 14 /* CC::al */, $noreg, $noreg
103 ; CHECK-NEXT: t2STRi12 killed renamable $r1, renamable $r0, 0, 14 /* CC::al */, $noreg :: (store (s32))
104 ; CHECK-NEXT: tBX_RET 14 /* CC::al */, $noreg, implicit $r0
105 renamable $r0 = nuw t2ADDri killed renamable $r0, 255, 14 /* CC::al */, $noreg, $noreg
106 t2STRi12 killed renamable $r1, renamable $r0, 0, 14 /* CC::al */, $noreg :: (store (s32))
107 tBX_RET 14 /* CC::al */, $noreg, implicit $r0
113 tracksRegLiveness: true
115 - { reg: '$r0', virtual-reg: '' }
116 - { reg: '$r1', virtual-reg: '' }
121 ; CHECK-LABEL: name: STR_pre256
122 ; CHECK: liveins: $r0, $r1
124 ; CHECK-NEXT: renamable $r0 = nuw t2ADDri killed renamable $r0, 256, 14 /* CC::al */, $noreg, $noreg
125 ; CHECK-NEXT: t2STRi12 killed renamable $r1, renamable $r0, 0, 14 /* CC::al */, $noreg :: (store (s32))
126 ; CHECK-NEXT: tBX_RET 14 /* CC::al */, $noreg, implicit $r0
127 renamable $r0 = nuw t2ADDri killed renamable $r0, 256, 14 /* CC::al */, $noreg, $noreg
128 t2STRi12 killed renamable $r1, renamable $r0, 0, 14 /* CC::al */, $noreg :: (store (s32))
129 tBX_RET 14 /* CC::al */, $noreg, implicit $r0
135 tracksRegLiveness: true
137 - { reg: '$r0', virtual-reg: '' }
138 - { reg: '$r1', virtual-reg: '' }
139 - { reg: '$r2', virtual-reg: '' }
142 liveins: $r0, $r1, $r2
144 ; CHECK-LABEL: name: STRD_pre4
145 ; CHECK: liveins: $r0, $r1, $r2
147 ; CHECK-NEXT: renamable $r0 = nuw t2ADDri killed renamable $r0, 4, 14 /* CC::al */, $noreg, $noreg
148 ; CHECK-NEXT: t2STRDi8 killed $r1, killed $r2, $r0, 0, 14 /* CC::al */, $noreg :: (store (s64))
149 ; CHECK-NEXT: tBX_RET 14 /* CC::al */, $noreg, implicit $r0
150 renamable $r0 = nuw t2ADDri killed renamable $r0, 4, 14 /* CC::al */, $noreg, $noreg
151 t2STRDi8 killed renamable $r1, killed renamable $r2, renamable $r0, 0, 14 /* CC::al */, $noreg :: (store (s64))
152 tBX_RET 14 /* CC::al */, $noreg, implicit $r0
158 tracksRegLiveness: true
160 - { reg: '$r0', virtual-reg: '' }
161 - { reg: '$r1', virtual-reg: '' }
162 - { reg: '$r2', virtual-reg: '' }
165 liveins: $r0, $r1, $r2
167 ; CHECK-LABEL: name: STRD_pre8
168 ; CHECK: liveins: $r0, $r1, $r2
170 ; CHECK-NEXT: $r0 = t2STRD_PRE killed renamable $r1, killed renamable $r2, killed $r0, 8, 14 /* CC::al */, $noreg :: (store (s64))
171 ; CHECK-NEXT: tBX_RET 14 /* CC::al */, $noreg, implicit $r0
172 renamable $r0 = nuw t2ADDri killed renamable $r0, 8, 14 /* CC::al */, $noreg, $noreg
173 t2STRDi8 killed renamable $r1, killed renamable $r2, renamable $r0, 0, 14 /* CC::al */, $noreg :: (store (s64))
174 tBX_RET 14 /* CC::al */, $noreg, implicit $r0
180 tracksRegLiveness: true
182 - { reg: '$r0', virtual-reg: '' }
183 - { reg: '$r1', virtual-reg: '' }
184 - { reg: '$r2', virtual-reg: '' }
187 liveins: $r0, $r1, $r2
189 ; CHECK-LABEL: name: STRD_pre255
190 ; CHECK: liveins: $r0, $r1, $r2
192 ; CHECK-NEXT: renamable $r0 = nuw t2ADDri killed renamable $r0, 255, 14 /* CC::al */, $noreg, $noreg
193 ; CHECK-NEXT: t2STRDi8 killed $r1, killed $r2, $r0, 0, 14 /* CC::al */, $noreg :: (store (s64))
194 ; CHECK-NEXT: tBX_RET 14 /* CC::al */, $noreg, implicit $r0
195 renamable $r0 = nuw t2ADDri killed renamable $r0, 255, 14 /* CC::al */, $noreg, $noreg
196 t2STRDi8 killed renamable $r1, killed renamable $r2, renamable $r0, 0, 14 /* CC::al */, $noreg :: (store (s64))
197 tBX_RET 14 /* CC::al */, $noreg, implicit $r0
203 tracksRegLiveness: true
205 - { reg: '$r0', virtual-reg: '' }
206 - { reg: '$r1', virtual-reg: '' }
207 - { reg: '$r2', virtual-reg: '' }
210 liveins: $r0, $r1, $r2
212 ; CHECK-LABEL: name: STRD_pre256
213 ; CHECK: liveins: $r0, $r1, $r2
215 ; CHECK-NEXT: renamable $r0 = nuw t2ADDri killed renamable $r0, 256, 14 /* CC::al */, $noreg, $noreg
216 ; CHECK-NEXT: t2STRDi8 killed $r1, killed $r2, $r0, 0, 14 /* CC::al */, $noreg :: (store (s64))
217 ; CHECK-NEXT: tBX_RET 14 /* CC::al */, $noreg, implicit $r0
218 renamable $r0 = nuw t2ADDri killed renamable $r0, 256, 14 /* CC::al */, $noreg, $noreg
219 t2STRDi8 killed renamable $r1, killed renamable $r2, renamable $r0, 0, 14 /* CC::al */, $noreg :: (store (s64))
220 tBX_RET 14 /* CC::al */, $noreg, implicit $r0
226 tracksRegLiveness: true
228 - { reg: '$r0', virtual-reg: '' }
229 - { reg: '$r1', virtual-reg: '' }
230 - { reg: '$r2', virtual-reg: '' }
233 liveins: $r0, $r1, $r2
235 ; CHECK-LABEL: name: STRD_pre1020
236 ; CHECK: liveins: $r0, $r1, $r2
238 ; CHECK-NEXT: renamable $r0 = nuw t2ADDri killed renamable $r0, 1020, 14 /* CC::al */, $noreg, $noreg
239 ; CHECK-NEXT: t2STRDi8 killed $r1, killed $r2, $r0, 0, 14 /* CC::al */, $noreg :: (store (s64))
240 ; CHECK-NEXT: tBX_RET 14 /* CC::al */, $noreg, implicit $r0
241 renamable $r0 = nuw t2ADDri killed renamable $r0, 1020, 14 /* CC::al */, $noreg, $noreg
242 t2STRDi8 killed renamable $r1, killed renamable $r2, renamable $r0, 0, 14 /* CC::al */, $noreg :: (store (s64))
243 tBX_RET 14 /* CC::al */, $noreg, implicit $r0
249 tracksRegLiveness: true
251 - { reg: '$r0', virtual-reg: '' }
252 - { reg: '$r1', virtual-reg: '' }
253 - { reg: '$r2', virtual-reg: '' }
256 liveins: $r0, $r1, $r2
258 ; CHECK-LABEL: name: STRD_pre1024
259 ; CHECK: liveins: $r0, $r1, $r2
261 ; CHECK-NEXT: renamable $r0 = nuw t2ADDri killed renamable $r0, 1024, 14 /* CC::al */, $noreg, $noreg
262 ; CHECK-NEXT: t2STRDi8 killed $r1, killed $r2, $r0, 0, 14 /* CC::al */, $noreg :: (store (s64))
263 ; CHECK-NEXT: tBX_RET 14 /* CC::al */, $noreg, implicit $r0
264 renamable $r0 = nuw t2ADDri killed renamable $r0, 1024, 14 /* CC::al */, $noreg, $noreg
265 t2STRDi8 killed renamable $r1, killed renamable $r2, renamable $r0, 0, 14 /* CC::al */, $noreg :: (store (s64))
266 tBX_RET 14 /* CC::al */, $noreg, implicit $r0
272 tracksRegLiveness: true
274 - { reg: '$r0', virtual-reg: '' }
275 - { reg: '$r1', virtual-reg: '' }
276 - { reg: '$r2', virtual-reg: '' }
279 liveins: $r0, $r1, $r2
281 ; CHECK-LABEL: name: STRD_prem4
282 ; CHECK: liveins: $r0, $r1, $r2
284 ; CHECK-NEXT: renamable $r0 = nuw t2SUBri killed renamable $r0, 4, 14 /* CC::al */, $noreg, $noreg
285 ; CHECK-NEXT: t2STRDi8 killed $r1, killed $r2, $r0, 0, 14 /* CC::al */, $noreg :: (store (s64))
286 ; CHECK-NEXT: tBX_RET 14 /* CC::al */, $noreg, implicit $r0
287 renamable $r0 = nuw t2SUBri killed renamable $r0, 4, 14 /* CC::al */, $noreg, $noreg
288 t2STRDi8 killed renamable $r1, killed renamable $r2, renamable $r0, 0, 14 /* CC::al */, $noreg :: (store (s64))
289 tBX_RET 14 /* CC::al */, $noreg, implicit $r0
295 tracksRegLiveness: true
297 - { reg: '$r0', virtual-reg: '' }
298 - { reg: '$r1', virtual-reg: '' }
299 - { reg: '$r2', virtual-reg: '' }
302 liveins: $r0, $r1, $r2
304 ; CHECK-LABEL: name: STRD_prem8
305 ; CHECK: liveins: $r0, $r1, $r2
307 ; CHECK-NEXT: $r0 = t2STRD_PRE killed renamable $r1, killed renamable $r2, killed $r0, -8, 14 /* CC::al */, $noreg :: (store (s64))
308 ; CHECK-NEXT: tBX_RET 14 /* CC::al */, $noreg, implicit $r0
309 renamable $r0 = nuw t2SUBri killed renamable $r0, 8, 14 /* CC::al */, $noreg, $noreg
310 t2STRDi8 killed renamable $r1, killed renamable $r2, renamable $r0, 0, 14 /* CC::al */, $noreg :: (store (s64))
311 tBX_RET 14 /* CC::al */, $noreg, implicit $r0
317 tracksRegLiveness: true
319 - { reg: '$r0', virtual-reg: '' }
320 - { reg: '$r1', virtual-reg: '' }
321 - { reg: '$r2', virtual-reg: '' }
324 liveins: $r0, $r1, $r2
326 ; CHECK-LABEL: name: STRD_prem255
327 ; CHECK: liveins: $r0, $r1, $r2
329 ; CHECK-NEXT: renamable $r0 = nuw t2SUBri killed renamable $r0, 255, 14 /* CC::al */, $noreg, $noreg
330 ; CHECK-NEXT: t2STRDi8 killed $r1, killed $r2, $r0, 0, 14 /* CC::al */, $noreg :: (store (s64))
331 ; CHECK-NEXT: tBX_RET 14 /* CC::al */, $noreg, implicit $r0
332 renamable $r0 = nuw t2SUBri killed renamable $r0, 255, 14 /* CC::al */, $noreg, $noreg
333 t2STRDi8 killed renamable $r1, killed renamable $r2, renamable $r0, 0, 14 /* CC::al */, $noreg :: (store (s64))
334 tBX_RET 14 /* CC::al */, $noreg, implicit $r0
340 tracksRegLiveness: true
342 - { reg: '$r0', virtual-reg: '' }
343 - { reg: '$r1', virtual-reg: '' }
344 - { reg: '$r2', virtual-reg: '' }
347 liveins: $r0, $r1, $r2
349 ; CHECK-LABEL: name: STRD_prem256
350 ; CHECK: liveins: $r0, $r1, $r2
352 ; CHECK-NEXT: renamable $r0 = nuw t2SUBri killed renamable $r0, 256, 14 /* CC::al */, $noreg, $noreg
353 ; CHECK-NEXT: t2STRDi8 killed $r1, killed $r2, $r0, 0, 14 /* CC::al */, $noreg :: (store (s64))
354 ; CHECK-NEXT: tBX_RET 14 /* CC::al */, $noreg, implicit $r0
355 renamable $r0 = nuw t2SUBri killed renamable $r0, 256, 14 /* CC::al */, $noreg, $noreg
356 t2STRDi8 killed renamable $r1, killed renamable $r2, renamable $r0, 0, 14 /* CC::al */, $noreg :: (store (s64))
357 tBX_RET 14 /* CC::al */, $noreg, implicit $r0
363 tracksRegLiveness: true
365 - { reg: '$r0', virtual-reg: '' }
366 - { reg: '$r1', virtual-reg: '' }
367 - { reg: '$r2', virtual-reg: '' }
370 liveins: $r0, $r1, $r2
372 ; CHECK-LABEL: name: STRD_prem1020
373 ; CHECK: liveins: $r0, $r1, $r2
375 ; CHECK-NEXT: renamable $r0 = nuw t2SUBri killed renamable $r0, 1020, 14 /* CC::al */, $noreg, $noreg
376 ; CHECK-NEXT: t2STRDi8 killed $r1, killed $r2, $r0, 0, 14 /* CC::al */, $noreg :: (store (s64))
377 ; CHECK-NEXT: tBX_RET 14 /* CC::al */, $noreg, implicit $r0
378 renamable $r0 = nuw t2SUBri killed renamable $r0, 1020, 14 /* CC::al */, $noreg, $noreg
379 t2STRDi8 killed renamable $r1, killed renamable $r2, renamable $r0, 0, 14 /* CC::al */, $noreg :: (store (s64))
380 tBX_RET 14 /* CC::al */, $noreg, implicit $r0
386 tracksRegLiveness: true
388 - { reg: '$r0', virtual-reg: '' }
389 - { reg: '$r1', virtual-reg: '' }
390 - { reg: '$r2', virtual-reg: '' }
393 liveins: $r0, $r1, $r2
395 ; CHECK-LABEL: name: STRD_prem1024
396 ; CHECK: liveins: $r0, $r1, $r2
398 ; CHECK-NEXT: renamable $r0 = nuw t2SUBri killed renamable $r0, 1024, 14 /* CC::al */, $noreg, $noreg
399 ; CHECK-NEXT: t2STRDi8 killed $r1, killed $r2, $r0, 0, 14 /* CC::al */, $noreg :: (store (s64))
400 ; CHECK-NEXT: tBX_RET 14 /* CC::al */, $noreg, implicit $r0
401 renamable $r0 = nuw t2SUBri killed renamable $r0, 1024, 14 /* CC::al */, $noreg, $noreg
402 t2STRDi8 killed renamable $r1, killed renamable $r2, renamable $r0, 0, 14 /* CC::al */, $noreg :: (store (s64))
403 tBX_RET 14 /* CC::al */, $noreg, implicit $r0
410 tracksRegLiveness: true
412 - { reg: '$r0', virtual-reg: '' }
413 - { reg: '$r1', virtual-reg: '' }
418 ; CHECK-LABEL: name: STR_post4
419 ; CHECK: liveins: $r0, $r1
421 ; CHECK-NEXT: early-clobber $r0 = t2STR_POST killed $r1, $r0, 4, 14 /* CC::al */, $noreg :: (store (s32))
422 ; CHECK-NEXT: tBX_RET 14 /* CC::al */, $noreg, implicit $r0
423 t2STRi12 killed renamable $r1, renamable $r0, 0, 14 /* CC::al */, $noreg :: (store (s32))
424 renamable $r0 = nuw t2ADDri killed renamable $r0, 4, 14 /* CC::al */, $noreg, $noreg
425 tBX_RET 14 /* CC::al */, $noreg, implicit $r0
431 tracksRegLiveness: true
433 - { reg: '$r0', virtual-reg: '' }
434 - { reg: '$r1', virtual-reg: '' }
439 ; CHECK-LABEL: name: STR_post8
440 ; CHECK: liveins: $r0, $r1
442 ; CHECK-NEXT: early-clobber $r0 = t2STR_POST killed $r1, $r0, 8, 14 /* CC::al */, $noreg :: (store (s32))
443 ; CHECK-NEXT: tBX_RET 14 /* CC::al */, $noreg, implicit $r0
444 t2STRi12 killed renamable $r1, renamable $r0, 0, 14 /* CC::al */, $noreg :: (store (s32))
445 renamable $r0 = nuw t2ADDri killed renamable $r0, 8, 14 /* CC::al */, $noreg, $noreg
446 tBX_RET 14 /* CC::al */, $noreg, implicit $r0
452 tracksRegLiveness: true
454 - { reg: '$r0', virtual-reg: '' }
455 - { reg: '$r1', virtual-reg: '' }
460 ; CHECK-LABEL: name: STR_post255
461 ; CHECK: liveins: $r0, $r1
463 ; CHECK-NEXT: early-clobber $r0 = t2STR_POST killed $r1, $r0, 255, 14 /* CC::al */, $noreg :: (store (s32))
464 ; CHECK-NEXT: tBX_RET 14 /* CC::al */, $noreg, implicit $r0
465 t2STRi12 killed renamable $r1, renamable $r0, 0, 14 /* CC::al */, $noreg :: (store (s32))
466 renamable $r0 = nuw t2ADDri killed renamable $r0, 255, 14 /* CC::al */, $noreg, $noreg
467 tBX_RET 14 /* CC::al */, $noreg, implicit $r0
473 tracksRegLiveness: true
475 - { reg: '$r0', virtual-reg: '' }
476 - { reg: '$r1', virtual-reg: '' }
481 ; CHECK-LABEL: name: STR_post256
482 ; CHECK: liveins: $r0, $r1
484 ; CHECK-NEXT: t2STRi12 killed renamable $r1, renamable $r0, 0, 14 /* CC::al */, $noreg :: (store (s32))
485 ; CHECK-NEXT: renamable $r0 = nuw t2ADDri killed renamable $r0, 256, 14 /* CC::al */, $noreg, $noreg
486 ; CHECK-NEXT: tBX_RET 14 /* CC::al */, $noreg, implicit $r0
487 t2STRi12 killed renamable $r1, renamable $r0, 0, 14 /* CC::al */, $noreg :: (store (s32))
488 renamable $r0 = nuw t2ADDri killed renamable $r0, 256, 14 /* CC::al */, $noreg, $noreg
489 tBX_RET 14 /* CC::al */, $noreg, implicit $r0
495 tracksRegLiveness: true
497 - { reg: '$r0', virtual-reg: '' }
498 - { reg: '$r1', virtual-reg: '' }
499 - { reg: '$r2', virtual-reg: '' }
502 liveins: $r0, $r1, $r2
504 ; CHECK-LABEL: name: STRD_post4
505 ; CHECK: liveins: $r0, $r1, $r2
507 ; CHECK-NEXT: $r0 = t2STRD_POST killed renamable $r1, killed renamable $r2, killed $r0, 4, 14 /* CC::al */, $noreg :: (store (s64))
508 ; CHECK-NEXT: tBX_RET 14 /* CC::al */, $noreg, implicit $r0
509 t2STRDi8 killed renamable $r1, killed renamable $r2, renamable $r0, 0, 14 /* CC::al */, $noreg :: (store (s64))
510 renamable $r0 = nuw t2ADDri killed renamable $r0, 4, 14 /* CC::al */, $noreg, $noreg
511 tBX_RET 14 /* CC::al */, $noreg, implicit $r0
517 tracksRegLiveness: true
519 - { reg: '$r0', virtual-reg: '' }
520 - { reg: '$r1', virtual-reg: '' }
521 - { reg: '$r2', virtual-reg: '' }
524 liveins: $r0, $r1, $r2
526 ; CHECK-LABEL: name: STRD_post8
527 ; CHECK: liveins: $r0, $r1, $r2
529 ; CHECK-NEXT: $r0 = t2STRD_POST killed renamable $r1, killed renamable $r2, killed $r0, 8, 14 /* CC::al */, $noreg :: (store (s64))
530 ; CHECK-NEXT: tBX_RET 14 /* CC::al */, $noreg, implicit $r0
531 t2STRDi8 killed renamable $r1, killed renamable $r2, renamable $r0, 0, 14 /* CC::al */, $noreg :: (store (s64))
532 renamable $r0 = nuw t2ADDri killed renamable $r0, 8, 14 /* CC::al */, $noreg, $noreg
533 tBX_RET 14 /* CC::al */, $noreg, implicit $r0
539 tracksRegLiveness: true
541 - { reg: '$r0', virtual-reg: '' }
542 - { reg: '$r1', virtual-reg: '' }
543 - { reg: '$r2', virtual-reg: '' }
546 liveins: $r0, $r1, $r2
548 ; CHECK-LABEL: name: STRD_post255
549 ; CHECK: liveins: $r0, $r1, $r2
551 ; CHECK-NEXT: t2STRDi8 killed $r1, killed $r2, $r0, 0, 14 /* CC::al */, $noreg :: (store (s64))
552 ; CHECK-NEXT: renamable $r0 = nuw t2ADDri killed renamable $r0, 255, 14 /* CC::al */, $noreg, $noreg
553 ; CHECK-NEXT: tBX_RET 14 /* CC::al */, $noreg, implicit $r0
554 t2STRDi8 killed renamable $r1, killed renamable $r2, renamable $r0, 0, 14 /* CC::al */, $noreg :: (store (s64))
555 renamable $r0 = nuw t2ADDri killed renamable $r0, 255, 14 /* CC::al */, $noreg, $noreg
556 tBX_RET 14 /* CC::al */, $noreg, implicit $r0
562 tracksRegLiveness: true
564 - { reg: '$r0', virtual-reg: '' }
565 - { reg: '$r1', virtual-reg: '' }
566 - { reg: '$r2', virtual-reg: '' }
569 liveins: $r0, $r1, $r2
571 ; CHECK-LABEL: name: STRD_post256
572 ; CHECK: liveins: $r0, $r1, $r2
574 ; CHECK-NEXT: $r0 = t2STRD_POST killed renamable $r1, killed renamable $r2, killed $r0, 256, 14 /* CC::al */, $noreg :: (store (s64))
575 ; CHECK-NEXT: tBX_RET 14 /* CC::al */, $noreg, implicit $r0
576 t2STRDi8 killed renamable $r1, killed renamable $r2, renamable $r0, 0, 14 /* CC::al */, $noreg :: (store (s64))
577 renamable $r0 = nuw t2ADDri killed renamable $r0, 256, 14 /* CC::al */, $noreg, $noreg
578 tBX_RET 14 /* CC::al */, $noreg, implicit $r0
584 tracksRegLiveness: true
586 - { reg: '$r0', virtual-reg: '' }
587 - { reg: '$r1', virtual-reg: '' }
588 - { reg: '$r2', virtual-reg: '' }
591 liveins: $r0, $r1, $r2
593 ; CHECK-LABEL: name: STRD_post1020
594 ; CHECK: liveins: $r0, $r1, $r2
596 ; CHECK-NEXT: $r0 = t2STRD_POST killed renamable $r1, killed renamable $r2, killed $r0, 1020, 14 /* CC::al */, $noreg :: (store (s64))
597 ; CHECK-NEXT: tBX_RET 14 /* CC::al */, $noreg, implicit $r0
598 t2STRDi8 killed renamable $r1, killed renamable $r2, renamable $r0, 0, 14 /* CC::al */, $noreg :: (store (s64))
599 renamable $r0 = nuw t2ADDri killed renamable $r0, 1020, 14 /* CC::al */, $noreg, $noreg
600 tBX_RET 14 /* CC::al */, $noreg, implicit $r0
606 tracksRegLiveness: true
608 - { reg: '$r0', virtual-reg: '' }
609 - { reg: '$r1', virtual-reg: '' }
610 - { reg: '$r2', virtual-reg: '' }
613 liveins: $r0, $r1, $r2
615 ; CHECK-LABEL: name: STRD_post1024
616 ; CHECK: liveins: $r0, $r1, $r2
618 ; CHECK-NEXT: t2STRDi8 killed $r1, killed $r2, $r0, 0, 14 /* CC::al */, $noreg :: (store (s64))
619 ; CHECK-NEXT: renamable $r0 = nuw t2ADDri killed renamable $r0, 1024, 14 /* CC::al */, $noreg, $noreg
620 ; CHECK-NEXT: tBX_RET 14 /* CC::al */, $noreg, implicit $r0
621 t2STRDi8 killed renamable $r1, killed renamable $r2, renamable $r0, 0, 14 /* CC::al */, $noreg :: (store (s64))
622 renamable $r0 = nuw t2ADDri killed renamable $r0, 1024, 14 /* CC::al */, $noreg, $noreg
623 tBX_RET 14 /* CC::al */, $noreg, implicit $r0
629 tracksRegLiveness: true
631 - { reg: '$r0', virtual-reg: '' }
632 - { reg: '$r1', virtual-reg: '' }
633 - { reg: '$r2', virtual-reg: '' }
636 liveins: $r0, $r1, $r2
638 ; CHECK-LABEL: name: STRD_postm4
639 ; CHECK: liveins: $r0, $r1, $r2
641 ; CHECK-NEXT: $r0 = t2STRD_POST killed renamable $r1, killed renamable $r2, killed $r0, -4, 14 /* CC::al */, $noreg :: (store (s64))
642 ; CHECK-NEXT: tBX_RET 14 /* CC::al */, $noreg, implicit $r0
643 t2STRDi8 killed renamable $r1, killed renamable $r2, renamable $r0, 0, 14 /* CC::al */, $noreg :: (store (s64))
644 renamable $r0 = nuw t2SUBri killed renamable $r0, 4, 14 /* CC::al */, $noreg, $noreg
645 tBX_RET 14 /* CC::al */, $noreg, implicit $r0
651 tracksRegLiveness: true
653 - { reg: '$r0', virtual-reg: '' }
654 - { reg: '$r1', virtual-reg: '' }
655 - { reg: '$r2', virtual-reg: '' }
658 liveins: $r0, $r1, $r2
660 ; CHECK-LABEL: name: STRD_postm8
661 ; CHECK: liveins: $r0, $r1, $r2
663 ; CHECK-NEXT: $r0 = t2STRD_POST killed renamable $r1, killed renamable $r2, killed $r0, -8, 14 /* CC::al */, $noreg :: (store (s64))
664 ; CHECK-NEXT: tBX_RET 14 /* CC::al */, $noreg, implicit $r0
665 t2STRDi8 killed renamable $r1, killed renamable $r2, renamable $r0, 0, 14 /* CC::al */, $noreg :: (store (s64))
666 renamable $r0 = nuw t2SUBri killed renamable $r0, 8, 14 /* CC::al */, $noreg, $noreg
667 tBX_RET 14 /* CC::al */, $noreg, implicit $r0
673 tracksRegLiveness: true
675 - { reg: '$r0', virtual-reg: '' }
676 - { reg: '$r1', virtual-reg: '' }
677 - { reg: '$r2', virtual-reg: '' }
680 liveins: $r0, $r1, $r2
682 ; CHECK-LABEL: name: STRD_postm255
683 ; CHECK: liveins: $r0, $r1, $r2
685 ; CHECK-NEXT: t2STRDi8 killed $r1, killed $r2, $r0, 0, 14 /* CC::al */, $noreg :: (store (s64))
686 ; CHECK-NEXT: renamable $r0 = nuw t2SUBri killed renamable $r0, 255, 14 /* CC::al */, $noreg, $noreg
687 ; CHECK-NEXT: tBX_RET 14 /* CC::al */, $noreg, implicit $r0
688 t2STRDi8 killed renamable $r1, killed renamable $r2, renamable $r0, 0, 14 /* CC::al */, $noreg :: (store (s64))
689 renamable $r0 = nuw t2SUBri killed renamable $r0, 255, 14 /* CC::al */, $noreg, $noreg
690 tBX_RET 14 /* CC::al */, $noreg, implicit $r0
696 tracksRegLiveness: true
698 - { reg: '$r0', virtual-reg: '' }
699 - { reg: '$r1', virtual-reg: '' }
700 - { reg: '$r2', virtual-reg: '' }
703 liveins: $r0, $r1, $r2
705 ; CHECK-LABEL: name: STRD_postm256
706 ; CHECK: liveins: $r0, $r1, $r2
708 ; CHECK-NEXT: $r0 = t2STRD_POST killed renamable $r1, killed renamable $r2, killed $r0, 256, 14 /* CC::al */, $noreg :: (store (s64))
709 ; CHECK-NEXT: tBX_RET 14 /* CC::al */, $noreg, implicit $r0
710 t2STRDi8 killed renamable $r1, killed renamable $r2, renamable $r0, 0, 14 /* CC::al */, $noreg :: (store (s64))
711 renamable $r0 = nuw t2ADDri killed renamable $r0, 256, 14 /* CC::al */, $noreg, $noreg
712 tBX_RET 14 /* CC::al */, $noreg, implicit $r0
718 tracksRegLiveness: true
720 - { reg: '$r0', virtual-reg: '' }
721 - { reg: '$r1', virtual-reg: '' }
722 - { reg: '$r2', virtual-reg: '' }
725 liveins: $r0, $r1, $r2
727 ; CHECK-LABEL: name: STRD_postm1020
728 ; CHECK: liveins: $r0, $r1, $r2
730 ; CHECK-NEXT: $r0 = t2STRD_POST killed renamable $r1, killed renamable $r2, killed $r0, -1020, 14 /* CC::al */, $noreg :: (store (s64))
731 ; CHECK-NEXT: tBX_RET 14 /* CC::al */, $noreg, implicit $r0
732 t2STRDi8 killed renamable $r1, killed renamable $r2, renamable $r0, 0, 14 /* CC::al */, $noreg :: (store (s64))
733 renamable $r0 = nuw t2SUBri killed renamable $r0, 1020, 14 /* CC::al */, $noreg, $noreg
734 tBX_RET 14 /* CC::al */, $noreg, implicit $r0
740 tracksRegLiveness: true
742 - { reg: '$r0', virtual-reg: '' }
743 - { reg: '$r1', virtual-reg: '' }
744 - { reg: '$r2', virtual-reg: '' }
747 liveins: $r0, $r1, $r2
749 ; CHECK-LABEL: name: STRD_postm1024
750 ; CHECK: liveins: $r0, $r1, $r2
752 ; CHECK-NEXT: t2STRDi8 killed $r1, killed $r2, $r0, 0, 14 /* CC::al */, $noreg :: (store (s64))
753 ; CHECK-NEXT: renamable $r0 = nuw t2SUBri killed renamable $r0, 1024, 14 /* CC::al */, $noreg, $noreg
754 ; CHECK-NEXT: tBX_RET 14 /* CC::al */, $noreg, implicit $r0
755 t2STRDi8 killed renamable $r1, killed renamable $r2, renamable $r0, 0, 14 /* CC::al */, $noreg :: (store (s64))
756 renamable $r0 = nuw t2SUBri killed renamable $r0, 1024, 14 /* CC::al */, $noreg, $noreg
757 tBX_RET 14 /* CC::al */, $noreg, implicit $r0