Skip to content

Commit 9131d7d

Browse files
committed
Rebase
Change-Id: I1208aebeabbc4df1c81f1c8f5a222688c28ef985
1 parent 0883cd7 commit 9131d7d

File tree

1 file changed

+0
-5
lines changed

1 file changed

+0
-5
lines changed

llvm/lib/Target/AArch64/AArch64FrameLowering.cpp

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -363,11 +363,6 @@ static StackOffset getSVEStackSize(const MachineFunction &MF) {
363363
return getZPRStackSize(MF) + getPPRStackSize(MF);
364364
}
365365

366-
static bool hasSVEStackSize(const MachineFunction &MF) {
367-
const AArch64FunctionInfo *AFI = MF.getInfo<AArch64FunctionInfo>();
368-
return AFI->getStackSizeZPR() > 0 || AFI->getStackSizePPR() > 0;
369-
}
370-
371366
/// Returns true if PPRs are spilled as ZPRs.
372367
static bool arePPRsSpilledAsZPR(const MachineFunction &MF) {
373368
return MF.getSubtarget().getRegisterInfo()->getSpillSize(

0 commit comments

Comments
 (0)