aboutsummaryrefslogtreecommitdiffstats
path: root/lib/Transforms/Scalar/LICM.cpp
diff options
context:
space:
mode:
authorDevang Patel <dpatel@apple.com>2007-06-07 22:21:15 +0000
committerDevang Patel <dpatel@apple.com>2007-06-07 22:21:15 +0000
commit468502e41a1b4cefe353a583e27005b75580d0a2 (patch)
tree7156dd5933870cc4a4cfd777f66f7952cef9580d /lib/Transforms/Scalar/LICM.cpp
parent4b90e3a276c0bb1bd4d90289e27aa3c4f890b5af (diff)
downloadexternal_llvm-468502e41a1b4cefe353a583e27005b75580d0a2.zip
external_llvm-468502e41a1b4cefe353a583e27005b75580d0a2.tar.gz
external_llvm-468502e41a1b4cefe353a583e27005b75580d0a2.tar.bz2
Do not require ETForest. Now it is unused by LICM.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@37502 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Transforms/Scalar/LICM.cpp')
-rw-r--r--lib/Transforms/Scalar/LICM.cpp3
1 files changed, 0 insertions, 3 deletions
diff --git a/lib/Transforms/Scalar/LICM.cpp b/lib/Transforms/Scalar/LICM.cpp
index 2662a60..77ac563 100644
--- a/lib/Transforms/Scalar/LICM.cpp
+++ b/lib/Transforms/Scalar/LICM.cpp
@@ -76,7 +76,6 @@ namespace {
AU.addRequiredID(LoopSimplifyID);
AU.addRequired<LoopInfo>();
AU.addRequired<DominatorTree>();
- AU.addRequired<ETForest>();
AU.addRequired<DominanceFrontier>(); // For scalar promotion (mem2reg)
AU.addRequired<AliasAnalysis>();
}
@@ -90,7 +89,6 @@ namespace {
// Various analyses that we use...
AliasAnalysis *AA; // Current AliasAnalysis information
LoopInfo *LI; // Current LoopInfo
- ETForest *ET; // ETForest for the current loop..
DominatorTree *DT; // Dominator Tree for the current Loop...
DominanceFrontier *DF; // Current Dominance Frontier
@@ -220,7 +218,6 @@ bool LICM::runOnLoop(Loop *L, LPPassManager &LPM) {
AA = &getAnalysis<AliasAnalysis>();
DF = &getAnalysis<DominanceFrontier>();
DT = &getAnalysis<DominatorTree>();
- ET = &getAnalysis<ETForest>();
CurAST = new AliasSetTracker(*AA);
// Collect Alias info from subloops