[llvm] r303107 - [NewGVN] Remove unused setDefiningExpr(). NFCI.
Davide Italiano via llvm-commits
llvm-commits at lists.llvm.org
Mon May 15 12:35:40 PDT 2017
Author: davide
Date: Mon May 15 14:35:40 2017
New Revision: 303107
URL: http://llvm.org/viewvc/llvm-project?rev=303107&view=rev
Log:
[NewGVN] Remove unused setDefiningExpr(). NFCI.
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=303107&r1=303106&r2=303107&view=diff
==============================================================================
--- llvm/trunk/lib/Transforms/Scalar/NewGVN.cpp (original)
+++ llvm/trunk/lib/Transforms/Scalar/NewGVN.cpp Mon May 15 14:35:40 2017
@@ -283,7 +283,6 @@ public:
// Forward propagation info
const Expression *getDefiningExpr() const { return DefiningExpr; }
- void setDefiningExpr(const Expression *E) { DefiningExpr = E; }
// Value member set
bool empty() const { return Members.empty(); }
More information about the llvm-commits
mailing list