[llvm] [llvm][RISCV] Set ScalableVector stack id in proper place (PR #117862)
Craig Topper via llvm-commits
llvm-commits at lists.llvm.org
Thu Dec 12 09:05:31 PST 2024
================
@@ -1623,6 +1623,8 @@ bool RISCVFrameLowering::assignCalleeSavedSpillSlots(
if ((unsigned)FrameIdx > MaxCSFrameIndex)
MaxCSFrameIndex = FrameIdx;
CS.setFrameIdx(FrameIdx);
+ if (RISCVRegisterInfo::isRVVRegClass(RC))
+ MFI.setStackID(FrameIdx, TargetStackID::ScalableVector);
----------------
topperc wrote:
Definitely should not be fixed in this PR. It requires tablegen changes, TargetRegisterInfo.h interface changes. Probably individual changes other targets.
https://github.com/llvm/llvm-project/pull/117862
More information about the llvm-commits
mailing list