[llvm] r372829 - Add tracing in pickNodeFromQueue.
Jay Foad via llvm-commits
llvm-commits at lists.llvm.org
Wed Sep 25 01:45:42 PDT 2019
Author: foad
Date: Wed Sep 25 01:45:41 2019
New Revision: 372829
URL: http://llvm.org/viewvc/llvm-project?rev=372829&view=rev
Log:
Add tracing in pickNodeFromQueue.
This matches GenericScheduler::pickNodeFromQueue, from which this
function was mostly cut and pasted.
Modified:
llvm/trunk/lib/Target/AMDGPU/GCNSchedStrategy.cpp
Modified: llvm/trunk/lib/Target/AMDGPU/GCNSchedStrategy.cpp
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/lib/Target/AMDGPU/GCNSchedStrategy.cpp?rev=372829&r1=372828&r2=372829&view=diff
==============================================================================
--- llvm/trunk/lib/Target/AMDGPU/GCNSchedStrategy.cpp (original)
+++ llvm/trunk/lib/Target/AMDGPU/GCNSchedStrategy.cpp Wed Sep 25 01:45:41 2019
@@ -160,6 +160,7 @@ void GCNMaxOccupancySchedStrategy::pickN
if (TryCand.ResDelta == SchedResourceDelta())
TryCand.initResourceDelta(Zone.DAG, SchedModel);
Cand.setBest(TryCand);
+ LLVM_DEBUG(traceCandidate(Cand));
}
}
}
More information about the llvm-commits
mailing list