From 5afc2740b70308540106cec6c4548345d6abb740 Mon Sep 17 00:00:00 2001 From: Matthijs Kooijman Date: Thu, 5 Jun 2008 07:55:49 +0000 Subject: Update comments and documentation to reflect that GCSE and ValueNumbering are deprecated by the GVN and GVNPRE passes. llvm-svn: 51983 --- llvm/lib/Analysis/ValueNumbering.cpp | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'llvm/lib/Analysis/ValueNumbering.cpp') 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" -- cgit v1.2.3