[PATCH] D29608: [AMDGPU] Fix GCNSchedStrategy.cpp debug output

Stanislav Mekhanoshin via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Mon Feb 6 15:28:13 PST 2017


This revision was automatically updated to reflect the committed changes.
Closed by commit rL294257: [AMDGPU] Fix GCNSchedStrategy.cpp debug output (authored by rampitec).

Changed prior to commit:
  https://reviews.llvm.org/D29608?vs=87315&id=87320#toc

Repository:
  rL LLVM

https://reviews.llvm.org/D29608

Files:
  llvm/trunk/lib/Target/AMDGPU/GCNSchedStrategy.cpp


Index: llvm/trunk/lib/Target/AMDGPU/GCNSchedStrategy.cpp
===================================================================
--- llvm/trunk/lib/Target/AMDGPU/GCNSchedStrategy.cpp
+++ llvm/trunk/lib/Target/AMDGPU/GCNSchedStrategy.cpp
@@ -225,9 +225,9 @@
   // 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) {


-------------- next part --------------
A non-text attachment was scrubbed...
Name: D29608.87320.patch
Type: text/x-patch
Size: 555 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20170206/6f2259d5/attachment.bin>


More information about the llvm-commits mailing list