[llvm] [AMDGPU] Optionally Use GCNRPTrackers during scheduling (PR #93090)
Valery Pykhtin via llvm-commits
llvm-commits at lists.llvm.org
Tue Jun 4 01:52:08 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)
----------------
vpykhtin wrote:
This looks criminal. You're forcing a call of a base class constructor for an object of derived type. Why this is needed?
https://github.com/llvm/llvm-project/pull/93090
More information about the llvm-commits
mailing list