[llvm] [AArch64][SME] Remove unused ZA lazy-save (PR #81648)

Matthew Devereau via llvm-commits llvm-commits at lists.llvm.org
Wed Feb 14 08:13:40 PST 2024


================
@@ -7051,10 +7115,14 @@ SDValue AArch64TargetLowering::LowerFormalArguments(
   if (Subtarget->hasCustomCallingConv())
     Subtarget->getRegisterInfo()->UpdateCustomCalleeSavedRegs(MF);
 
-  // Conservatively assume the function requires the lazy-save mechanism.
+  // Create a 16 Byte TPIDR2 object. The dynamic buffer
+  // will be expanded and stored in the static object later using a pseudonode.
   if (SMEAttrs(MF.getFunction()).hasZAState()) {
-    unsigned TPIDR2Obj = allocateLazySaveBuffer(Chain, DL, DAG);
----------------
MDevereau wrote:

Yes it can, I forgot to do this, thanks

https://github.com/llvm/llvm-project/pull/81648


More information about the llvm-commits mailing list