Skip to content

Commit aed8c91

Browse files
committed
remove unnecessary check
1 parent 9c93dd2 commit aed8c91

File tree

1 file changed

+0
-2
lines changed

1 file changed

+0
-2
lines changed

llvm/lib/Target/RISCV/RISCVFrameLowering.cpp

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1607,8 +1607,6 @@ bool RISCVFrameLowering::assignCalleeSavedSpillSlots(
16071607
int FrameIdx = MFI.CreateFixedSpillStackObject(Size, Offset);
16081608
assert(FrameIdx < 0);
16091609
CS.setFrameIdx(FrameIdx);
1610-
if (RISCVRegisterInfo::isRVVRegClass(RC))
1611-
MFI.setStackID(FrameIdx, TargetStackID::ScalableVector);
16121610
continue;
16131611
}
16141612
}

0 commit comments

Comments
 (0)