From: Stanislav Mekhanoshin Date: Mon, 6 Feb 2017 23:16:51 +0000 (+0000) Subject: [AMDGPU] Fix GCNSchedStrategy.cpp debug output X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=0887cb0d09e3e4a8dc4750322f44b56168599a97;p=llvm [AMDGPU] Fix GCNSchedStrategy.cpp debug output There is typo in the debug output: top and bottom candidates are switched. Differential Revision: https://reviews.llvm.org/D29608 git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@294257 91177308-0d34-0410-b5e6-96231b3b80d8 --- diff --git a/lib/Target/AMDGPU/GCNSchedStrategy.cpp b/lib/Target/AMDGPU/GCNSchedStrategy.cpp index cc0cd8b2984..90d0778a56b 100644 --- a/lib/Target/AMDGPU/GCNSchedStrategy.cpp +++ b/lib/Target/AMDGPU/GCNSchedStrategy.cpp @@ -225,9 +225,9 @@ SUnit *GCNMaxOccupancySchedStrategy::pickNodeBidirectional(bool &IsTopNode) { // Pick best from BotCand and TopCand. DEBUG( dbgs() << "Top Cand: "; - traceCandidate(BotCand); - dbgs() << "Bot Cand: "; traceCandidate(TopCand); + dbgs() << "Bot Cand: "; + traceCandidate(BotCand); ); SchedCandidate Cand; if (TopCand.Reason == BotCand.Reason) {