[llvm] [llvm][RISCV] Set ScalableVector stack id in proper place (PR #117862)

Craig Topper via llvm-commits llvm-commits at lists.llvm.org
Tue Dec 10 09:38:32 PST 2024


================
@@ -1610,6 +1610,8 @@ bool RISCVFrameLowering::assignCalleeSavedSpillSlots(
         int FrameIdx = MFI.CreateFixedSpillStackObject(Size, Offset);
         assert(FrameIdx < 0);
         CS.setFrameIdx(FrameIdx);
+        if (RISCVRegisterInfo::isRVVRegClass(RC))
----------------
topperc wrote:

There aren't any vector registers in `FixedCSRFIMap` so I don't think this can happen.

https://github.com/llvm/llvm-project/pull/117862


More information about the llvm-commits mailing list