[llvm] Spill/restore FP/BP around instructions in which they are clobbered (PR #81048)
Reid Kleckner via llvm-commits
llvm-commits at lists.llvm.org
Thu Aug 1 15:17:08 PDT 2024
================
@@ -228,6 +228,8 @@ bool PEI::runOnMachineFunction(MachineFunction &MF) {
FrameIndexVirtualScavenging = TRI->requiresFrameIndexScavenging(MF);
ORE = &getAnalysis<MachineOptimizationRemarkEmitterPass>().getORE();
+ TFI->spillFPBP(MF);
----------------
rnk wrote:
The PEI process is very complicated, please add comments elaborating on what this does and why it comes before call frame instruction elimination.
https://github.com/llvm/llvm-project/pull/81048
More information about the llvm-commits
mailing list