aboutsummaryrefslogtreecommitdiff
path: root/lib/Analysis/ValueNumbering.cpp
diff options
context:
space:
mode:
authorMatthijs Kooijman <matthijs@stdin.nl>2008-06-05 07:55:49 +0000
committerMatthijs Kooijman <matthijs@stdin.nl>2008-06-05 07:55:49 +0000
commit845f524c25de18917f72e8847d7e138d65e4ef08 (patch)
treeecaa9ac4209ddead0213f491182c122ef7ece196 /lib/Analysis/ValueNumbering.cpp
parent67944fc42755a32a864c105d604e8829e5ccc4b2 (diff)
Update comments and documentation to reflect that GCSE and ValueNumbering are
deprecated by the GVN and GVNPRE passes. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@51983 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Analysis/ValueNumbering.cpp')
-rw-r--r--lib/Analysis/ValueNumbering.cpp4
1 files changed, 4 insertions, 0 deletions
diff --git a/lib/Analysis/ValueNumbering.cpp b/lib/Analysis/ValueNumbering.cpp
index 98f04bd06e..55323eaa9e 100644
--- a/lib/Analysis/ValueNumbering.cpp
+++ b/lib/Analysis/ValueNumbering.cpp
@@ -10,6 +10,10 @@
// This file implements the non-abstract Value Numbering methods as well as a
// default implementation for the analysis group.
//
+// The ValueNumbering analysis pass is mostly deprecated. It is only used by the
+// Global Common Subexpression Elimination pass, which is deprecated by the
+// Global Value Numbering pass (which does its value numbering on its own).
+//
//===----------------------------------------------------------------------===//
#include "llvm/Analysis/Passes.h"