We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent a3072be commit fecf2a2Copy full SHA for fecf2a2
llvm/lib/Target/AArch64/AArch64FrameLowering.cpp
@@ -479,6 +479,11 @@ bool AArch64FrameLowering::hasFP(const MachineFunction &MF) const {
479
/// included as part of the stack frame.
480
bool
481
AArch64FrameLowering::hasReservedCallFrame(const MachineFunction &MF) const {
482
+ // The stack probing code for the dynamically allocated outgoing arguments
483
+ // area assumes that the stack is probed at the top - either by the prologue
484
+ // code, which issues a probe if `hasVarSizedObjects` return true, or by the
485
+ // most recent variable-sized object allocation. Changing the condition here
486
+ // may need to be followed up by changes to the probe issuing logic.
487
return !MF.getFrameInfo().hasVarSizedObjects();
488
}
489
0 commit comments