[llvm] [AMDGPU] Improved register pressure estimates for rescheduling (PR #213116)
Romanov Vlad via llvm-commits
llvm-commits at lists.llvm.org
Wed Aug 26 06:06:13 PDT 2026
================
@@ -412,10 +415,14 @@ AMDGPUCoExecSchedStrategy::AMDGPUCoExecSchedStrategy(
const MachineSchedContext *C)
: GCNSchedStrategy(C) {
SchedStages.push_back(GCNSchedStageID::ILPInitialSchedule);
+ SchedStages.push_back(GCNSchedStageID::LiveIntervalRPReschedule);
SchedStages.push_back(GCNSchedStageID::RewriteMFMAForm);
----------------
romanovvlad wrote:
We should probably schedule `LiveIntervalRPReschedule` after `RewriteMFMAForm` since `RewriteMFMAForm` can lower vgpr pressure.
https://github.com/llvm/llvm-project/pull/213116
More information about the llvm-commits
mailing list