summaryrefslogtreecommitdiffstats
path: root/llvm/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
commit5afc2740b70308540106cec6c4548345d6abb740 (patch)
treec138568395c602fd57824c7a116be4a8b9968824 /llvm/lib/Analysis/ValueNumbering.cpp
parent18fbf1bc374f5ed3c3a371025d32f7a9b9cec562 (diff)
downloadbcm5719-llvm-5afc2740b70308540106cec6c4548345d6abb740.tar.gz
bcm5719-llvm-5afc2740b70308540106cec6c4548345d6abb740.zip
Update comments and documentation to reflect that GCSE and ValueNumbering are
deprecated by the GVN and GVNPRE passes. llvm-svn: 51983
Diffstat (limited to 'llvm/lib/Analysis/ValueNumbering.cpp')
-rw-r--r--llvm/lib/Analysis/ValueNumbering.cpp4
1 files changed, 4 insertions, 0 deletions
diff --git a/llvm/lib/Analysis/ValueNumbering.cpp b/llvm/lib/Analysis/ValueNumbering.cpp
index 98f04bd06e1..55323eaa9ed 100644
--- a/llvm/lib/Analysis/ValueNumbering.cpp
+++ b/llvm/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"
OpenPOWER on IntegriCloud