================ @@ -563,6 +615,10 @@ void RISCVFrameLowering::emitPrologue(MachineFunction &MF, // directives. for (const auto &Entry : CSI) { int FrameIdx = Entry.getFrameIdx(); + if (FrameIdx >=0 && ---------------- topperc wrote: space between `>=` and `0` https://github.com/llvm/llvm-project/pull/77560