================
@@ -20583,6 +20624,16 @@ void
SITargetLowering::finalizeLowering(MachineFunction &MF) const {
Info->limitOccupancy(MF);
+ // The object lives in registers and every reference to its frame index is
+ // now its address, so it must not take up stack space as well.
+ MachineFrameInfo &MFI = MF.getFrameInfo();
+ for (int FI = MFI.getObjectIndexBegin(), E = MFI.getObjectIndexEnd(); FI !=
E;
+ ++FI) {
+ const AllocaInst *Alloca = MFI.getObjectAllocation(FI);
----------------
arsenm wrote:
This isn't managing the debug info
https://github.com/llvm/llvm-project/pull/214248
_______________________________________________
llvm-branch-commits mailing list
[email protected]
https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-branch-commits