We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 9466481 commit 8061805Copy full SHA for 8061805
llvm/lib/Target/RISCV/RISCVFrameLowering.cpp
@@ -1850,7 +1850,8 @@ bool RISCVFrameLowering::assignCalleeSavedSpillSlots(
1850
if (RVFI->isPushable(MF)) {
1851
// Allocate a fixed object that covers all the registers that are pushed.
1852
if (unsigned PushedRegs = RVFI->getRVPushRegs()) {
1853
- int64_t PushedRegsBytes = static_cast<int64_t>(PushedRegs) * (STI.getXLen() / 8);
+ int64_t PushedRegsBytes =
1854
+ static_cast<int64_t>(PushedRegs) * (STI.getXLen() / 8);
1855
MFI.CreateFixedSpillStackObject(PushedRegsBytes, -PushedRegsBytes);
1856
}
1857
} else if (int LibCallRegs = getLibCallID(MF, CSI) + 1) {
0 commit comments