diff options
author | Dan Gohman <gohman@apple.com> | 2009-04-16 16:46:01 +0000 |
---|---|---|
committer | Dan Gohman <gohman@apple.com> | 2009-04-16 16:46:01 +0000 |
commit | 13317bc1e90efaed0c2e6da794f313aeadb226eb (patch) | |
tree | 6a13be3d5e574fea873cab27dacc47c9d73ead59 /lib/Transforms/Scalar/LoopStrengthReduce.cpp | |
parent | 6524d3ab0e93cfaa1da4293428a5b0b4f106606d (diff) |
LSR is no longer a GEP optimizer. It is now an IV expression
optimizer, which just happen to frequently involve optimizing GEPs.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@69295 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Transforms/Scalar/LoopStrengthReduce.cpp')
-rw-r--r-- | lib/Transforms/Scalar/LoopStrengthReduce.cpp | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/lib/Transforms/Scalar/LoopStrengthReduce.cpp b/lib/Transforms/Scalar/LoopStrengthReduce.cpp index 7c85606242..957582817a 100644 --- a/lib/Transforms/Scalar/LoopStrengthReduce.cpp +++ b/lib/Transforms/Scalar/LoopStrengthReduce.cpp @@ -33,12 +33,11 @@ #include "llvm/Support/Debug.h" #include "llvm/Support/Compiler.h" #include "llvm/Support/CommandLine.h" -#include "llvm/Support/GetElementPtrTypeIterator.h" #include "llvm/Target/TargetLowering.h" #include <algorithm> using namespace llvm; -STATISTIC(NumReduced , "Number of GEPs strength reduced"); +STATISTIC(NumReduced , "Number of IV uses strength reduced"); STATISTIC(NumInserted, "Number of PHIs inserted"); STATISTIC(NumVariable, "Number of PHIs with variable strides"); STATISTIC(NumEliminated, "Number of strides eliminated"); |