[llvm-branch-commits] [llvm] [AArch64][SME] Support split ZPR and PPR area allocation (PR #142392)
Sander de Smalen via llvm-branch-commits
llvm-branch-commits at lists.llvm.org
Mon Sep 29 03:14:50 PDT 2025
================
@@ -531,6 +538,10 @@ bool AArch64FrameLowering::canUseRedZone(const MachineFunction &MF) const {
if (!EnableRedZone)
return false;
+ const AArch64FunctionInfo *AFI = MF.getInfo<AArch64FunctionInfo>();
+ if (AFI->hasSplitSVEObjects())
+ return false;
+
----------------
sdesmalen-arm wrote:
This should already be covered by the `AFI->hasSVEStackSize()` below.
https://github.com/llvm/llvm-project/pull/142392
More information about the llvm-branch-commits
mailing list