[llvm] [AMDGPU] Optionally Use GCNRPTrackers during scheduling (PR #93090)
Jeffrey Byrnes via llvm-commits
llvm-commits at lists.llvm.org
Fri Jun 14 15:07:35 PDT 2024
================
@@ -658,6 +747,19 @@ void GCNScheduleDAGMILive::runSchedStages() {
continue;
}
+ if (GCNTrackers) {
+ GCNDownwardRPTracker *DownwardTracker = S.getDownwardTracker();
+ GCNUpwardRPTracker *UpwardTracker = S.getUpwardTracker();
+ GCNRPTracker::LiveRegSet *RegionLiveIns =
+ &LiveIns[Stage->getRegionIdx()];
+
+ reinterpret_cast<GCNRPTracker *>(DownwardTracker)
----------------
jrbyrnes wrote:
It was needed because the overloaded resets in GCNUpwardRPTracker/GCNDownwardRPTracker hide the GCNRPTracker::reset , fixed in https://github.com/llvm/llvm-project/pull/93088
https://github.com/llvm/llvm-project/pull/93090
More information about the llvm-commits
mailing list