[llvm] [AArch64][SME] Support Windows/stack probes in MachineSMEABIPass (PR #149063)
Sander de Smalen via llvm-commits
llvm-commits at lists.llvm.org
Mon Sep 8 01:51:43 PDT 2025
================
@@ -8291,7 +8291,30 @@ SDValue AArch64TargetLowering::LowerFormalArguments(
if (Subtarget->hasCustomCallingConv())
Subtarget->getRegisterInfo()->UpdateCustomCalleeSavedRegs(MF);
- if (!getTM().useNewSMEABILowering() || Attrs.hasAgnosticZAInterface()) {
+ if (getTM().useNewSMEABILowering() && !Attrs.hasAgnosticZAInterface()) {
+ if (Subtarget->isTargetWindows() || hasInlineStackProbe(MF)) {
+ SDValue Size;
+ if (Attrs.hasZAState()) {
----------------
sdesmalen-arm wrote:
Ah that's right, with `__arm_new`.
https://github.com/llvm/llvm-project/pull/149063
More information about the llvm-commits
mailing list