================
@@ -1651,7 +1682,10 @@ RISCVFrameLowering::getFrameIndexReference(const
MachineFunction &MF, int FI,
MaxCSFI = std::max(CSI.front().getFrameIdx(), CSI.back().getFrameIdx());
}
- if (FI >= MinCSFI && FI <= MaxCSFI) {
+ bool IsInterruptCSR = RVFI->isSiFivePreemptibleInterrupt(MF) &&
----------------
lenary wrote:
At some point it would be good to have some kind of debugger for stack layouts,
like clang has for struct layouts. Probably quite complex to attach info like
"this was fixed due to save-restore/push-pop/interrupts and other relevant info
(alignment, stack id)
https://github.com/llvm/llvm-project/pull/221318
_______________________________________________
cfe-commits mailing list
[email protected]
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits