LSR is no longer a GEP optimizer. It is now an IV expression
authorDan Gohman <gohman@apple.com>
Thu, 16 Apr 2009 16:46:01 +0000 (16:46 +0000)
committerDan Gohman <gohman@apple.com>
Thu, 16 Apr 2009 16:46:01 +0000 (16:46 +0000)
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

lib/Transforms/Scalar/LoopStrengthReduce.cpp

index 7c85606242302cbb5caf8b835e85d21721e6466f..957582817a4cacffda409c84d28e65be5fc77966 100644 (file)
 #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");