Skip to content

Commit f8494a5

Browse files
committed
Rebase
Change-Id: Id2e989796a7a6f33d8ff190c6c5c7b62af818ddc
1 parent ca111b7 commit f8494a5

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

llvm/lib/Target/AArch64/AArch64FrameLowering.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -595,7 +595,7 @@ bool AArch64FrameLowering::hasFPImpl(const MachineFunction &MF) const {
595595
// CFA in either of these cases.
596596
if (AFI.needsDwarfUnwindInfo(MF) &&
597597
((requiresSaveVG(MF) || AFI.getSMEFnAttrs().hasStreamingBody()) &&
598-
(!AFI.hasCalculatedStackSizeSVE() || AFI.getStackSizeSVE() > 0)))
598+
(!AFI.hasCalculatedStackSizeSVE() || AFI.hasSVEStackSize())))
599599
return true;
600600
// With large callframes around we may need to use FP to access the scavenging
601601
// emergency spillslot.

0 commit comments

Comments
 (0)