================
@@ -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
_______________________________________________
llvm-branch-commits mailing list
[email protected]
https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-branch-commits

Reply via email to