[llvm] r302908 - [NewGVN] Improve debug output a bit. NFCI.
Davide Italiano via llvm-commits
llvm-commits at lists.llvm.org
Fri May 12 08:28:12 PDT 2017
Author: davide
Date: Fri May 12 10:28:12 2017
New Revision: 302908
URL: http://llvm.org/viewvc/llvm-project?rev=302908&view=rev
Log:
[NewGVN] Improve debug output a bit. NFCI.
While debugging a predicate info problem, I noticed this was missing
a newline, making the debug output slightly less readable.
Modified:
llvm/trunk/lib/Transforms/Scalar/NewGVN.cpp
Modified: llvm/trunk/lib/Transforms/Scalar/NewGVN.cpp
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/lib/Transforms/Scalar/NewGVN.cpp?rev=302908&r1=302907&r2=302908&view=diff
==============================================================================
--- llvm/trunk/lib/Transforms/Scalar/NewGVN.cpp (original)
+++ llvm/trunk/lib/Transforms/Scalar/NewGVN.cpp Fri May 12 10:28:12 2017
@@ -1312,7 +1312,7 @@ NewGVN::performSymbolicPredicateInfoEval
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));
More information about the llvm-commits
mailing list