Skip to content

Commit 00e3cfd

Browse files
committed
[AIE2PS] Fix alignment of 64-bit spills
1 parent e8f7ac1 commit 00e3cfd

7 files changed

Lines changed: 64 additions & 64 deletions

File tree

llvm/lib/Target/AIE/aie2ps/AIE2PSRegisterInfo.td

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -111,7 +111,7 @@ class AIE2PSScalarRegisterClass<dag reglist, RegAltNameIndex idx = NoRegAltName>
111111
idx>;
112112

113113
class AIE2PSScalar64RegisterClass<dag reglist, RegAltNameIndex idx = NoRegAltName>
114-
: AIE2PSRegisterClass<64, 32, [i64, v8i8, v4i16, v4bf16, v4f16,v2i32, v2f32, v64i1], reglist,
114+
: AIE2PSRegisterClass<64, 64, [i64, v8i8, v4i16, v4bf16, v4f16,v2i32, v2f32, v64i1], reglist,
115115
idx>;
116116

117117
class AIE2PSVector128RegisterClass<dag reglist> :

llvm/test/CodeGen/AIE/GlobalISel/legalize-dyn-stackalloc.ll

Lines changed: 18 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -244,20 +244,20 @@ define void @test_loop_dyn_alloca(i32 noundef %n) {
244244
; AIE2PS-LABEL: test_loop_dyn_alloca:
245245
; AIE2PS: // %bb.0: // %entry
246246
; AIE2PS-NEXT: paddxm [sp], #64
247-
; AIE2PS-NEXT: st p7, [sp, #-24] // 4-byte Folded Spill
247+
; AIE2PS-NEXT: st p7, [sp, #-20] // 4-byte Folded Spill
248248
; AIE2PS-NEXT: mov p7, sp
249-
; AIE2PS-NEXT: st r9:r8, [sp, #-60] // 8-byte Folded Spill
249+
; AIE2PS-NEXT: st r9:r8, [sp, #-56] // 8-byte Folded Spill
250250
; AIE2PS-NEXT: mova r8, #1
251-
; AIE2PS-NEXT: st r11:r10, [sp, #-52] // 8-byte Folded Spill
251+
; AIE2PS-NEXT: st r11:r10, [sp, #-48] // 8-byte Folded Spill
252252
; AIE2PS-NEXT: mova r10, #0
253-
; AIE2PS-NEXT: st r13:r12, [sp, #-44] // 8-byte Folded Spill
253+
; AIE2PS-NEXT: st r13:r12, [sp, #-40] // 8-byte Folded Spill
254254
; AIE2PS-NEXT: mova r12, #10
255-
; AIE2PS-NEXT: st r15:r14, [sp, #-36] // 8-byte Folded Spill
255+
; AIE2PS-NEXT: st r15:r14, [sp, #-32] // 8-byte Folded Spill
256256
; AIE2PS-NEXT: mova r14, #2
257257
; AIE2PS-NEXT: mova r9, #-64
258258
; AIE2PS-NEXT: mova r11, #0
259259
; AIE2PS-NEXT: st lr, [sp, #-64] // 4-byte Folded Spill
260-
; AIE2PS-NEXT: st p6, [sp, #-28] // 4-byte Folded Spill
260+
; AIE2PS-NEXT: st p6, [sp, #-24] // 4-byte Folded Spill
261261
; AIE2PS-NEXT: padda [p7], #-64
262262
; AIE2PS-NEXT: .LBB1_1: // %for.body
263263
; AIE2PS-NEXT: // =>This Inner Loop Header: Depth=1
@@ -285,12 +285,12 @@ define void @test_loop_dyn_alloca(i32 noundef %n) {
285285
; AIE2PS-NEXT: // %bb.2: // %for.cond.cleanup
286286
; AIE2PS-NEXT: mov sp, p7
287287
; AIE2PS-NEXT: lda lr, [sp, #-64] // 4-byte Folded Reload
288-
; AIE2PS-NEXT: lda p7, [sp, #-24] // 4-byte Folded Reload
289-
; AIE2PS-NEXT: lda p6, [sp, #-28] // 4-byte Folded Reload
290-
; AIE2PS-NEXT: lda r15:r14, [sp, #-36] // 8-byte Folded Reload
291-
; AIE2PS-NEXT: lda r13:r12, [sp, #-44] // 8-byte Folded Reload
292-
; AIE2PS-NEXT: lda r11:r10, [sp, #-52] // 8-byte Folded Reload
293-
; AIE2PS-NEXT: lda r9:r8, [sp, #-60] // 8-byte Folded Reload
288+
; AIE2PS-NEXT: lda p7, [sp, #-20] // 4-byte Folded Reload
289+
; AIE2PS-NEXT: lda p6, [sp, #-24] // 4-byte Folded Reload
290+
; AIE2PS-NEXT: lda r15:r14, [sp, #-32] // 8-byte Folded Reload
291+
; AIE2PS-NEXT: lda r13:r12, [sp, #-40] // 8-byte Folded Reload
292+
; AIE2PS-NEXT: lda r11:r10, [sp, #-48] // 8-byte Folded Reload
293+
; AIE2PS-NEXT: lda r9:r8, [sp, #-56] // 8-byte Folded Reload
294294
; AIE2PS-NEXT: ret lr
295295
; AIE2PS-NEXT: nop // Delay Slot 5
296296
; AIE2PS-NEXT: nop // Delay Slot 4
@@ -461,13 +461,13 @@ define void @test_huge_stack(i32 noundef %n) #0 {
461461
; AIE2PS-NEXT: mova r1, #0
462462
; AIE2PS-NEXT: mova r2, #2
463463
; AIE2PS-NEXT: mova r4, #-64
464-
; AIE2PS-NEXT: st p7, [sp, #-16] // 4-byte Folded Spill
464+
; AIE2PS-NEXT: st p7, [sp, #-12] // 4-byte Folded Spill
465465
; AIE2PS-NEXT: mov p7, sp
466466
; AIE2PS-NEXT: mov p0, sp
467467
; AIE2PS-NEXT: mov p1, sp
468468
; AIE2PS-NEXT: st lr, [sp, #-32] // 4-byte Folded Spill
469-
; AIE2PS-NEXT: st r9:r8, [sp, #-28] // 8-byte Folded Spill
470-
; AIE2PS-NEXT: st p6, [sp, #-20] // 4-byte Folded Spill
469+
; AIE2PS-NEXT: st r9:r8, [sp, #-24] // 8-byte Folded Spill
470+
; AIE2PS-NEXT: st p6, [sp, #-16] // 4-byte Folded Spill
471471
; AIE2PS-NEXT: padda [p7], m0
472472
; AIE2PS-NEXT: mova m0, #-36
473473
; AIE2PS-NEXT: mov p2, p7
@@ -513,9 +513,9 @@ define void @test_huge_stack(i32 noundef %n) #0 {
513513
; AIE2PS-NEXT: nop
514514
; AIE2PS-NEXT: nop
515515
; AIE2PS-NEXT: nop
516-
; AIE2PS-NEXT: lda p7, [sp, #-16] // 4-byte Folded Reload
517-
; AIE2PS-NEXT: lda p6, [sp, #-20] // 4-byte Folded Reload
518-
; AIE2PS-NEXT: lda r9:r8, [sp, #-28] // 8-byte Folded Reload
516+
; AIE2PS-NEXT: lda p7, [sp, #-12] // 4-byte Folded Reload
517+
; AIE2PS-NEXT: lda p6, [sp, #-16] // 4-byte Folded Reload
518+
; AIE2PS-NEXT: lda r9:r8, [sp, #-24] // 8-byte Folded Reload
519519
; AIE2PS-NEXT: ret lr
520520
; AIE2PS-NEXT: nop // Delay Slot 5
521521
; AIE2PS-NEXT: nop // Delay Slot 4

llvm/test/CodeGen/AIE/aie2ps/spill/spill-reload-efg.mir

Lines changed: 17 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
# See https://llvm.org/LICENSE.txt for license information.
55
# SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
66
#
7-
# (c) Copyright 2024 Advanced Micro Devices, Inc. or its affiliates
7+
# (c) Copyright 2024-2026 Advanced Micro Devices, Inc. or its affiliates
88
# RUN: llc -mtriple=aie2ps --verify-machineinstrs -run-pass=greedy -run-pass=virtregrewriter %s -o - | FileCheck %s
99

1010
# There is only one register available, it will then be used for the %0
@@ -75,10 +75,10 @@ body: |
7575
; CHECK-LABEL: name: test_ee_scarce_regs
7676
; CHECK: liveins: $e0, $e1, $e2, $e3, $e4, $e5, $e6, $e7, $e8, $e9, $e10, $e11, $p0, $r0
7777
; CHECK-NEXT: {{ $}}
78-
; CHECK-NEXT: VST_EE_SPILL $e0, %stack.0, implicit $sp :: (store (s64) into %stack.0, align 4)
78+
; CHECK-NEXT: VST_EE_SPILL $e0, %stack.0, implicit $sp :: (store (s64) into %stack.0)
7979
; CHECK-NEXT: $e0 = COPY $e1
8080
; CHECK-NEXT: ST_dms_sts_scalar_st_idx_imm $r0, $p0, 0, implicit $e0, implicit $e1, implicit $e2, implicit $e3, implicit $e4, implicit $e5, implicit $e6, implicit $e7, implicit $e8, implicit $e9, implicit $e10, implicit $e11
81-
; CHECK-NEXT: renamable $e0 = VLDA_EE_SPILL %stack.0, implicit $sp :: (load (s64) from %stack.0, align 4)
81+
; CHECK-NEXT: renamable $e0 = VLDA_EE_SPILL %stack.0, implicit $sp :: (load (s64) from %stack.0)
8282
; CHECK-NEXT: PseudoRET implicit $lr, implicit killed renamable $e0
8383
%0:mees = COPY $e0 ; -> only $e0 is available
8484
@@ -102,9 +102,9 @@ body: |
102102
; CHECK-LABEL: name: test_ee_caller_saved
103103
; CHECK: liveins: $e0
104104
; CHECK-NEXT: {{ $}}
105-
; CHECK-NEXT: VST_EE_SPILL $e0, %stack.0, implicit $sp :: (store (s64) into %stack.0, align 4)
105+
; CHECK-NEXT: VST_EE_SPILL $e0, %stack.0, implicit $sp :: (store (s64) into %stack.0)
106106
; CHECK-NEXT: PseudoJL 32, csr_aie2ps, implicit-def $lr
107-
; CHECK-NEXT: renamable $e0 = VLDA_EE_SPILL %stack.0, implicit $sp :: (load (s64) from %stack.0, align 4)
107+
; CHECK-NEXT: renamable $e0 = VLDA_EE_SPILL %stack.0, implicit $sp :: (load (s64) from %stack.0)
108108
; CHECK-NEXT: PseudoRET implicit $lr, implicit killed renamable $e0
109109
%0:mees = COPY $e0
110110
PseudoJL 32, csr_aie2ps, implicit-def $lr
@@ -125,10 +125,10 @@ body: |
125125
; CHECK-LABEL: name: test_f_scarce_regs
126126
; CHECK: liveins: $f1, $f2, $f3, $f4, $f5, $f6, $f7, $f8, $f9, $f10, $f11, $fl0, $p0, $r0
127127
; CHECK-NEXT: {{ $}}
128-
; CHECK-NEXT: VST_F_SPILL $fl0, %stack.0, implicit $sp :: (store (s64) into %stack.0, align 4)
128+
; CHECK-NEXT: VST_F_SPILL $fl0, %stack.0, implicit $sp :: (store (s64) into %stack.0)
129129
; CHECK-NEXT: $f0 = COPY $f1
130130
; CHECK-NEXT: ST_dms_sts_scalar_st_idx_imm $r0, $p0, 0, implicit $f0, implicit $f1, implicit $f2, implicit $f3, implicit $f4, implicit $f5, implicit $f6, implicit $f7, implicit $f8, implicit $f9, implicit $f10, implicit $f11
131-
; CHECK-NEXT: renamable $fl0 = VLDA_F_SPILL %stack.0, implicit $sp :: (load (s64) from %stack.0, align 4)
131+
; CHECK-NEXT: renamable $fl0 = VLDA_F_SPILL %stack.0, implicit $sp :: (load (s64) from %stack.0)
132132
; CHECK-NEXT: PseudoRET implicit $lr, implicit killed renamable $fl0
133133
%0:mfs = COPY $fl0 ; -> only $f0 is available
134134
@@ -153,9 +153,9 @@ body: |
153153
; CHECK: liveins: $f0
154154
; CHECK-NEXT: {{ $}}
155155
; CHECK-NEXT: renamable $fl0 = COPY $f0
156-
; CHECK-NEXT: VST_F_SPILL killed renamable $fl0, %stack.0, implicit $sp :: (store (s64) into %stack.0, align 4)
156+
; CHECK-NEXT: VST_F_SPILL killed renamable $fl0, %stack.0, implicit $sp :: (store (s64) into %stack.0)
157157
; CHECK-NEXT: PseudoJL 32, csr_aie2ps, implicit-def $lr
158-
; CHECK-NEXT: renamable $fl0 = VLDA_F_SPILL %stack.0, implicit $sp :: (load (s64) from %stack.0, align 4)
158+
; CHECK-NEXT: renamable $fl0 = VLDA_F_SPILL %stack.0, implicit $sp :: (load (s64) from %stack.0)
159159
; CHECK-NEXT: PseudoRET implicit $lr, implicit killed renamable $fl0
160160
%0:mfs = COPY $f0
161161
PseudoJL 32, csr_aie2ps, implicit-def $lr
@@ -277,10 +277,10 @@ body: |
277277
; CHECK-LABEL: name: test_gg_scarce_regs
278278
; CHECK: liveins: $g0, $g1, $g2, $g3, $g4, $g5, $g6, $g7, $g8, $g9, $g10, $g11, $p0, $r0
279279
; CHECK-NEXT: {{ $}}
280-
; CHECK-NEXT: VST_GG_SPILL $g0, %stack.0, implicit $sp :: (store (s64) into %stack.0, align 4)
280+
; CHECK-NEXT: VST_GG_SPILL $g0, %stack.0, implicit $sp :: (store (s64) into %stack.0)
281281
; CHECK-NEXT: $g0 = COPY $g1
282282
; CHECK-NEXT: ST_dms_sts_scalar_st_idx_imm $r0, $p0, 0, implicit $g0, implicit $g1, implicit $g2, implicit $g3, implicit $g4, implicit $g5, implicit $g6, implicit $g7, implicit $g8, implicit $g9, implicit $g10, implicit $g11
283-
; CHECK-NEXT: renamable $g0 = VLDA_GG_SPILL %stack.0, implicit $sp :: (load (s64) from %stack.0, align 4)
283+
; CHECK-NEXT: renamable $g0 = VLDA_GG_SPILL %stack.0, implicit $sp :: (load (s64) from %stack.0)
284284
; CHECK-NEXT: PseudoRET implicit $lr, implicit killed renamable $g0
285285
%0:mggs = COPY $g0 ; -> only $g0 is available
286286
@@ -304,9 +304,9 @@ body: |
304304
; CHECK-LABEL: name: test_gg_caller_saved
305305
; CHECK: liveins: $g0
306306
; CHECK-NEXT: {{ $}}
307-
; CHECK-NEXT: VST_GG_SPILL $g0, %stack.0, implicit $sp :: (store (s64) into %stack.0, align 4)
307+
; CHECK-NEXT: VST_GG_SPILL $g0, %stack.0, implicit $sp :: (store (s64) into %stack.0)
308308
; CHECK-NEXT: PseudoJL 32, csr_aie2ps, implicit-def $lr
309-
; CHECK-NEXT: renamable $g0 = VLDA_GG_SPILL %stack.0, implicit $sp :: (load (s64) from %stack.0, align 4)
309+
; CHECK-NEXT: renamable $g0 = VLDA_GG_SPILL %stack.0, implicit $sp :: (load (s64) from %stack.0)
310310
; CHECK-NEXT: PseudoRET implicit $lr, implicit killed renamable $g0
311311
%0:mggs = COPY $g0
312312
PseudoJL 32, csr_aie2ps, implicit-def $lr
@@ -327,10 +327,10 @@ body: |
327327
; CHECK-LABEL: name: test_eg_scarce_regs
328328
; CHECK: liveins: $eg1, $eg2, $eg3, $eg4, $eg5, $eg6, $eg7, $eg8, $eg9, $eg10, $eg11, $egl0, $p0, $r0
329329
; CHECK-NEXT: {{ $}}
330-
; CHECK-NEXT: VST_EG_SPILL $egl0, %stack.0, implicit $sp :: (store (s64) into %stack.0, align 4)
330+
; CHECK-NEXT: VST_EG_SPILL $egl0, %stack.0, implicit $sp :: (store (s64) into %stack.0)
331331
; CHECK-NEXT: $eg0 = COPY $eg1
332332
; CHECK-NEXT: ST_dms_sts_scalar_st_idx_imm $r0, $p0, 0, implicit $eg0, implicit $eg1, implicit $eg2, implicit $eg3, implicit $eg4, implicit $eg5, implicit $eg6, implicit $eg7, implicit $eg8, implicit $eg9, implicit $eg10, implicit $eg11
333-
; CHECK-NEXT: renamable $egl0 = VLDA_EG_SPILL %stack.0, implicit $sp :: (load (s64) from %stack.0, align 4)
333+
; CHECK-NEXT: renamable $egl0 = VLDA_EG_SPILL %stack.0, implicit $sp :: (load (s64) from %stack.0)
334334
; CHECK-NEXT: PseudoRET implicit $lr, implicit killed renamable $egl0
335335
%0:megs = COPY $egl0 ; -> only $eg0 is available
336336
@@ -355,9 +355,9 @@ body: |
355355
; CHECK: liveins: $eg0
356356
; CHECK-NEXT: {{ $}}
357357
; CHECK-NEXT: renamable $egl0 = COPY $eg0
358-
; CHECK-NEXT: VST_EG_SPILL killed renamable $egl0, %stack.0, implicit $sp :: (store (s64) into %stack.0, align 4)
358+
; CHECK-NEXT: VST_EG_SPILL killed renamable $egl0, %stack.0, implicit $sp :: (store (s64) into %stack.0)
359359
; CHECK-NEXT: PseudoJL 32, csr_aie2ps, implicit-def $lr
360-
; CHECK-NEXT: renamable $egl0 = VLDA_EG_SPILL %stack.0, implicit $sp :: (load (s64) from %stack.0, align 4)
360+
; CHECK-NEXT: renamable $egl0 = VLDA_EG_SPILL %stack.0, implicit $sp :: (load (s64) from %stack.0)
361361
; CHECK-NEXT: PseudoRET implicit $lr, implicit killed renamable $egl0
362362
%0:megs = COPY $eg0
363363
PseudoJL 32, csr_aie2ps, implicit-def $lr

llvm/test/CodeGen/AIE/aie2ps/spill/spill-reload-l.mir

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -26,15 +26,15 @@ body: |
2626
; CHECK: liveins: $l0, $l4, $l5, $l6, $l7, $r11, $l7
2727
; CHECK-NEXT: {{ $}}
2828
; CHECK-NEXT: frame-setup PADDXM_pstm_sp_imm 64, implicit-def $sp, implicit $sp
29-
; CHECK-NEXT: ST_dms_sts_scalar_spill killed $lr, -48, implicit $sp :: (store (s32) into %stack.1)
30-
; CHECK-NEXT: ST_dml_sts_scalar_spill killed $l7, -60, implicit $sp :: (store (s64) into %stack.2, align 4)
29+
; CHECK-NEXT: ST_dms_sts_scalar_spill killed $lr, -44, implicit $sp :: (store (s32) into %stack.1)
30+
; CHECK-NEXT: ST_dml_sts_scalar_spill killed $l7, -56, implicit $sp :: (store (s64) into %stack.2)
3131
; CHECK-NEXT: renamable $r3 = LDA_dms_lda_scalar_spill -64, implicit $sp
32-
; CHECK-NEXT: ST_dms_sts_scalar_spill killed $r3, -52, implicit $sp :: (store (s32) into %stack.0)
32+
; CHECK-NEXT: ST_dms_sts_scalar_spill killed $r3, -48, implicit $sp :: (store (s32) into %stack.0)
3333
; CHECK-NEXT: renamable $l7 = COPY $l0
3434
; CHECK-NEXT: PseudoJL 32, csr_aie2ps, implicit-def $lr
35-
; CHECK-NEXT: $r1 = LDA_dms_lda_scalar_spill -52, implicit $sp :: (load (s32) from %stack.0)
36-
; CHECK-NEXT: $l7 = LDA_dml_lda_scalar_L_spill -60, implicit $sp :: (load (s64) from %stack.2, align 4)
37-
; CHECK-NEXT: $lr = LDA_dms_lda_scalar_spill -48, implicit $sp :: (load (s32) from %stack.1)
35+
; CHECK-NEXT: $r1 = LDA_dms_lda_scalar_spill -48, implicit $sp :: (load (s32) from %stack.0)
36+
; CHECK-NEXT: $l7 = LDA_dml_lda_scalar_L_spill -56, implicit $sp :: (load (s64) from %stack.2)
37+
; CHECK-NEXT: $lr = LDA_dms_lda_scalar_spill -44, implicit $sp :: (load (s32) from %stack.1)
3838
; CHECK-NEXT: frame-destroy PADDXM_pstm_sp_imm -64, implicit-def $sp, implicit $sp
3939
; CHECK-NEXT: PseudoRET implicit $lr, implicit killed renamable $r1, implicit killed renamable $l7, implicit $l4, implicit $r11, implicit $l5, implicit $l6
4040
%0:er = LDA_dms_lda_scalar_spill %fixed-stack.0, implicit $sp

llvm/test/CodeGen/AIE/call-prologepilog-with-framepointer.ll

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -293,15 +293,15 @@ define i32 @test_call_fastcc(i32 %a, i32 %b) nounwind {
293293
; AIE2PS-NEXT: {{ $}}
294294
; AIE2PS-NEXT: frame-setup PADDXM_pstm_sp_imm 64, implicit-def $sp, implicit $sp
295295
; AIE2PS-NEXT: ST_dms_sts_scalar_spill killed $lr, -56, implicit $sp :: (store (s32) into %stack.0)
296-
; AIE2PS-NEXT: ST_dml_sts_scalar_spill killed $l4, -64, implicit $sp :: (store (s64) into %stack.1, align 4)
296+
; AIE2PS-NEXT: ST_dml_sts_scalar_spill killed $l4, -64, implicit $sp :: (store (s64) into %stack.1)
297297
; AIE2PS-NEXT: ST_dms_sts_scalar_spill killed $p7, -52, implicit $sp :: (store (s32) into %stack.2)
298298
; AIE2PS-NEXT: $p7 = frame-setup MOV_alu_mv_mv_mv_scl $sp
299299
; AIE2PS-NEXT: $p7 = frame-setup PADD_imm_pseudo $p7, -64
300300
; AIE2PS-NEXT: renamable $r9 = COPY $r1
301301
; AIE2PS-NEXT: PseudoJL @fastcc_function, csr_aie2ps, implicit-def $lr, implicit $r1, implicit $r2, implicit-def dead $r0
302302
; AIE2PS-NEXT: $r0 = COPY killed renamable $r9
303303
; AIE2PS-NEXT: $p7 = LDA_dms_lda_scalar_spill -52, implicit $sp :: (load (s32) from %stack.2)
304-
; AIE2PS-NEXT: $l4 = LDA_dml_lda_scalar_L_spill -64, implicit $sp :: (load (s64) from %stack.1, align 4)
304+
; AIE2PS-NEXT: $l4 = LDA_dml_lda_scalar_L_spill -64, implicit $sp :: (load (s64) from %stack.1)
305305
; AIE2PS-NEXT: $lr = LDA_dms_lda_scalar_spill -56, implicit $sp :: (load (s32) from %stack.0)
306306
; AIE2PS-NEXT: frame-destroy PADDXM_pstm_sp_imm -64, implicit-def $sp, implicit $sp
307307
; AIE2PS-NEXT: PseudoRET implicit $lr, implicit killed $r0

llvm/test/CodeGen/AIE/call-prologepilog.ll

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -199,11 +199,11 @@ define i32 @test_call_fastcc(i32 %a, i32 %b) nounwind {
199199
; AIE2PS-NEXT: {{ $}}
200200
; AIE2PS-NEXT: frame-setup PADDXM_pstm_sp_imm 64, implicit-def $sp, implicit $sp
201201
; AIE2PS-NEXT: ST_dms_sts_scalar_spill killed $lr, -56, implicit $sp :: (store (s32) into %stack.0)
202-
; AIE2PS-NEXT: ST_dml_sts_scalar_spill killed $l4, -64, implicit $sp :: (store (s64) into %stack.1, align 4)
202+
; AIE2PS-NEXT: ST_dml_sts_scalar_spill killed $l4, -64, implicit $sp :: (store (s64) into %stack.1)
203203
; AIE2PS-NEXT: renamable $r9 = COPY $r1
204204
; AIE2PS-NEXT: PseudoJL @fastcc_function, csr_aie2ps, implicit-def $lr, implicit $r1, implicit $r2, implicit-def dead $r0
205205
; AIE2PS-NEXT: $r0 = COPY killed renamable $r9
206-
; AIE2PS-NEXT: $l4 = LDA_dml_lda_scalar_L_spill -64, implicit $sp :: (load (s64) from %stack.1, align 4)
206+
; AIE2PS-NEXT: $l4 = LDA_dml_lda_scalar_L_spill -64, implicit $sp :: (load (s64) from %stack.1)
207207
; AIE2PS-NEXT: $lr = LDA_dms_lda_scalar_spill -56, implicit $sp :: (load (s32) from %stack.0)
208208
; AIE2PS-NEXT: frame-destroy PADDXM_pstm_sp_imm -64, implicit-def $sp, implicit $sp
209209
; AIE2PS-NEXT: PseudoRET implicit $lr, implicit killed $r0

0 commit comments

Comments
 (0)