aboutsummaryrefslogtreecommitdiff
path: root/lib/Transforms/Scalar/GCSE.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'lib/Transforms/Scalar/GCSE.cpp')
-rw-r--r--lib/Transforms/Scalar/GCSE.cpp5
1 files changed, 4 insertions, 1 deletions
diff --git a/lib/Transforms/Scalar/GCSE.cpp b/lib/Transforms/Scalar/GCSE.cpp
index 35752bb679..94cdcb1400 100644
--- a/lib/Transforms/Scalar/GCSE.cpp
+++ b/lib/Transforms/Scalar/GCSE.cpp
@@ -9,9 +9,12 @@
//
// This pass is designed to be a very quick global transformation that
// eliminates global common subexpressions from a function. It does this by
-// using an existing value numbering implementation to identify the common
+// using an existing value numbering analysis pass to identify the common
// subexpressions, eliminating them when possible.
//
+// This pass is deprecated by the Global Value Numbering pass (which does a
+// better job with its own value numbering).
+//
//===----------------------------------------------------------------------===//
#define DEBUG_TYPE "gcse"