[llvm] r309789 - [NewGVN] Remove a (now stale) comment. NFCI.
Davide Italiano via llvm-commits
llvm-commits at lists.llvm.org
Tue Aug 1 20:51:40 PDT 2017
Author: davide
Date: Tue Aug 1 20:51:40 2017
New Revision: 309789
URL: http://llvm.org/viewvc/llvm-project?rev=309789&view=rev
Log:
[NewGVN] Remove a (now stale) comment. 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=309789&r1=309788&r2=309789&view=diff
==============================================================================
--- llvm/trunk/lib/Transforms/Scalar/NewGVN.cpp (original)
+++ llvm/trunk/lib/Transforms/Scalar/NewGVN.cpp Tue Aug 1 20:51:40 2017
@@ -1824,7 +1824,6 @@ const Expression *NewGVN::performSymboli
// Return true if V is a value that will always be available (IE can
// be placed anywhere) in the function. We don't do globals here
// because they are often worse to put in place.
-// TODO: Separate cost from availability
static bool alwaysAvailable(Value *V) {
return isa<Constant>(V) || isa<Argument>(V);
}
More information about the llvm-commits
mailing list