[llvm] [RISCV] Fix double counting CSRs with Zcmp in RISCVFrameLowering::getFrameIndexReference. (PR #117207)
Philip Reames via llvm-commits
llvm-commits at lists.llvm.org
Thu Nov 21 11:01:26 PST 2024
================
@@ -1205,7 +1205,6 @@ RISCVFrameLowering::getFrameIndexReference(const MachineFunction &MF, int FI,
// alignment padding.
int ScalarLocalVarSize = MFI.getStackSize() -
RVFI->getCalleeSavedStackSize() -
- RVFI->getRVPushStackSize() -
----------------
preames wrote:
Do we need to adjust the usage of this same routine in emitCalleeSavedRVVPrologCFI?
https://github.com/llvm/llvm-project/pull/117207
More information about the llvm-commits
mailing list