[llvm] r303452 - NewGVN: Print out the StoredValue of a StoreExpression
Daniel Berlin via llvm-commits
llvm-commits at lists.llvm.org
Fri May 19 13:22:14 PDT 2017
Author: dannyb
Date: Fri May 19 15:22:14 2017
New Revision: 303452
URL: http://llvm.org/viewvc/llvm-project?rev=303452&view=rev
Log:
NewGVN: Print out the StoredValue of a StoreExpression
Modified:
llvm/trunk/include/llvm/Transforms/Scalar/GVNExpression.h
Modified: llvm/trunk/include/llvm/Transforms/Scalar/GVNExpression.h
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/include/llvm/Transforms/Scalar/GVNExpression.h?rev=303452&r1=303451&r2=303452&view=diff
==============================================================================
--- llvm/trunk/include/llvm/Transforms/Scalar/GVNExpression.h (original)
+++ llvm/trunk/include/llvm/Transforms/Scalar/GVNExpression.h Fri May 19 15:22:14 2017
@@ -380,7 +380,9 @@ public:
OS << "ExpressionTypeStore, ";
this->BasicExpression::printInternal(OS, false);
OS << " represents Store " << *Store;
- OS << " with MemoryLeader " << *getMemoryLeader();
+ OS << " with StoredValue ";
+ StoredValue->printAsOperand(OS);
+ OS << " and MemoryLeader " << *getMemoryLeader();
}
};
More information about the llvm-commits
mailing list