[llvm] r303519 - NewGVN: Fix printing of simplified expression
Daniel Berlin via llvm-commits
llvm-commits at lists.llvm.org
Sun May 21 16:41:54 PDT 2017
Author: dannyb
Date: Sun May 21 18:41:53 2017
New Revision: 303519
URL: http://llvm.org/viewvc/llvm-project?rev=303519&view=rev
Log:
NewGVN: Fix printing of simplified expression
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=303519&r1=303518&r2=303519&view=diff
==============================================================================
--- llvm/trunk/lib/Transforms/Scalar/NewGVN.cpp (original)
+++ llvm/trunk/lib/Transforms/Scalar/NewGVN.cpp Sun May 21 18:41:53 2017
@@ -954,7 +954,7 @@ const Expression *NewGVN::checkSimplific
if (CC && CC->getDefiningExpr()) {
if (I)
DEBUG(dbgs() << "Simplified " << *I << " to "
- << " expression " << *V << "\n");
+ << " expression " << *CC->getDefiningExpr() << "\n");
NumGVNOpsSimplified++;
deleteExpression(E);
return CC->getDefiningExpr();
More information about the llvm-commits
mailing list