[llvm] f2741f2 - [TblGen][Scheduling] Fix debug output. NFC

David Green via llvm-commits llvm-commits at lists.llvm.org
Sat Oct 10 02:04:47 PDT 2020


Author: David Green
Date: 2020-10-10T10:04:28+01:00
New Revision: f2741f2aeee5bfed621be67b6c7929e51317d3bc

URL: https://github.com/llvm/llvm-project/commit/f2741f2aeee5bfed621be67b6c7929e51317d3bc
DIFF: https://github.com/llvm/llvm-project/commit/f2741f2aeee5bfed621be67b6c7929e51317d3bc.diff

LOG: [TblGen][Scheduling] Fix debug output. NFC

This just moves some newlines to the expected places.

Added: 
    

Modified: 
    llvm/utils/TableGen/CodeGenSchedule.cpp

Removed: 
    


################################################################################
diff  --git a/llvm/utils/TableGen/CodeGenSchedule.cpp b/llvm/utils/TableGen/CodeGenSchedule.cpp
index 31ef38c33b56..d11f07cab985 100644
--- a/llvm/utils/TableGen/CodeGenSchedule.cpp
+++ b/llvm/utils/TableGen/CodeGenSchedule.cpp
@@ -2189,13 +2189,14 @@ void CodeGenSchedClass::dump(const CodeGenSchedModels* SchedModels) const {
       dbgs().indent(10);
     }
   }
-  dbgs() << "\n  ProcIdx: "; dumpIdxVec(ProcIndices); dbgs() << '\n';
+  dbgs() << "\n  ProcIdx: "; dumpIdxVec(ProcIndices);
   if (!Transitions.empty()) {
     dbgs() << "\n Transitions for Proc ";
     for (const CodeGenSchedTransition &Transition : Transitions) {
       dumpIdxVec(Transition.ProcIndices);
     }
   }
+  dbgs() << '\n';
 }
 
 void PredTransitions::dump() const {


        


More information about the llvm-commits mailing list