OSDN Git Service

[NewGVN] Improve debug output a bit. NFCI.
authorDavide Italiano <davide@freebsd.org>
Fri, 12 May 2017 15:28:12 +0000 (15:28 +0000)
committerDavide Italiano <davide@freebsd.org>
Fri, 12 May 2017 15:28:12 +0000 (15:28 +0000)
While debugging a predicate info problem, I noticed this was missing
a newline, making the debug output slightly less readable.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@302908 91177308-0d34-0410-b5e6-96231b3b80d8

lib/Transforms/Scalar/NewGVN.cpp

index e257f06..a8f399d 100644 (file)
@@ -1312,7 +1312,7 @@ NewGVN::performSymbolicPredicateInfoEvaluation(Instruction *I) const {
     return nullptr;
 
   if (CopyOf != Cmp->getOperand(0) && CopyOf != Cmp->getOperand(1)) {
-    DEBUG(dbgs() << "Copy is not of any condition operands!");
+    DEBUG(dbgs() << "Copy is not of any condition operands!\n");
     return nullptr;
   }
   Value *FirstOp = lookupOperandLeader(Cmp->getOperand(0));