diff options
author | Matthijs Kooijman <matthijs@stdin.nl> | 2008-06-05 07:55:49 +0000 |
---|---|---|
committer | Matthijs Kooijman <matthijs@stdin.nl> | 2008-06-05 07:55:49 +0000 |
commit | 845f524c25de18917f72e8847d7e138d65e4ef08 (patch) | |
tree | ecaa9ac4209ddead0213f491182c122ef7ece196 /lib/Transforms/Scalar/GCSE.cpp | |
parent | 67944fc42755a32a864c105d604e8829e5ccc4b2 (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/Transforms/Scalar/GCSE.cpp')
-rw-r--r-- | lib/Transforms/Scalar/GCSE.cpp | 5 |
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" |