Skip to content

Commit bdaf58f

Browse files
committed
Remove check
1 parent 2f7ba65 commit bdaf58f

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

llvm/lib/Target/AArch64/AArch64FrameLowering.cpp

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -340,9 +340,7 @@ static bool requiresSaveVG(const MachineFunction &MF);
340340
// object offsets have been determined.
341341
static bool isLikelyToHaveSVEStack(const MachineFunction &MF) {
342342
auto *AFI = MF.getInfo<AArch64FunctionInfo>();
343-
if (MF.getFunction().getCallingConv() ==
344-
CallingConv::AArch64_SVE_VectorCall ||
345-
AFI->isSVECC())
343+
if (AFI->isSVECC())
346344
return true;
347345

348346
if (AFI->hasCalculatedStackSizeSVE())

0 commit comments

Comments
 (0)