[llvm] [llvm][RISCV] Set ScalableVector stack id in proper place (PR #117862)
Elizaveta Noskova via llvm-commits
llvm-commits at lists.llvm.org
Thu Dec 12 08:31:00 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);
----------------
enoskova-sc wrote:
Good question. Do you want me to investigate this issue and may be create a fix in current PR?
https://github.com/llvm/llvm-project/pull/117862
More information about the llvm-commits
mailing list