summaryrefslogtreecommitdiffstats
path: root/llvm/lib/Transforms
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
commit3f4c6fe7e85285ba01030a0a0563e81b4931b120 (patch)
tree2566146a3b6a23da08e9dbff41620f458b5a12be /llvm/lib/Transforms
parentcf470e52552a7692906a42f657f08bf5790a8dd9 (diff)
downloadbcm5719-llvm-3f4c6fe7e85285ba01030a0a0563e81b4931b120.tar.gz
bcm5719-llvm-3f4c6fe7e85285ba01030a0a0563e81b4931b120.zip
Do not require ETForest. Now it is unused by LICM.
llvm-svn: 37502
Diffstat (limited to 'llvm/lib/Transforms')
-rw-r--r--llvm/lib/Transforms/Scalar/LICM.cpp3
1 files changed, 0 insertions, 3 deletions
diff --git a/llvm/lib/Transforms/Scalar/LICM.cpp b/llvm/lib/Transforms/Scalar/LICM.cpp
index 2662a6016de..77ac5634bd9 100644
--- a/llvm/lib/Transforms/Scalar/LICM.cpp
+++ b/llvm/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
OpenPOWER on IntegriCloud