[llvm] [AArch64] Separate PNR into its own Register Class (PR #65306)
Matthew Devereau via llvm-commits
llvm-commits at lists.llvm.org
Wed Sep 13 06:03:07 PDT 2023
================
@@ -61,6 +63,49 @@ body: |
RET_ReallyLR
...
---
+name: spills_fills_stack_id_pnr
+tracksRegLiveness: true
+registers:
+ - { id: 0, class: pnr }
+stack:
+liveins:
+ - { reg: '$pn0', virtual-reg: '%0' }
+body: |
+ bb.0.entry:
+ liveins: $pn0
+
+ ; CHECK-LABEL: name: spills_fills_stack_id_pnr
+ ; CHECK: stack:
+ ; CHECK: - { id: 0, name: '', type: spill-slot, offset: 0, size: 2, alignment: 2
+ ; CHECK-NEXT: stack-id: scalable-vector, callee-saved-register: ''
+
+ ; EXPAND-LABEL: name: spills_fills_stack_id_pnr
+ ; EXPAND: STR_PXI $pn0, $sp, 7
----------------
MDevereau wrote:
I've added some changes to the spill/fill logic and this test is now outputting and asserting `STR_PXI $p0, $sp, 7,implicit-def $pn0 `
https://github.com/llvm/llvm-project/pull/65306
More information about the llvm-commits
mailing list