summaryrefslogtreecommitdiffstats
path: root/llvm/lib/Transforms
diff options
context:
space:
mode:
authorChris Lattner <sabre@nondot.org>2010-08-29 07:02:56 +0000
committerChris Lattner <sabre@nondot.org>2010-08-29 07:02:56 +0000
commitf94f6bb0bac007e065f2acb1c08e30c335432f40 (patch)
treeabef88f885012fbfd4dea4410d70ed9c20e4f248 /llvm/lib/Transforms
parentabe61ef3b44948d8ff27d0b57bb210680bb86e56 (diff)
downloadbcm5719-llvm-f94f6bb0bac007e065f2acb1c08e30c335432f40.tar.gz
bcm5719-llvm-f94f6bb0bac007e065f2acb1c08e30c335432f40.zip
licm preserves the cfg, it doesn't have to explicitly say it
preserves domfrontier. It does preserve AA though. llvm-svn: 112419
Diffstat (limited to 'llvm/lib/Transforms')
-rw-r--r--llvm/lib/Transforms/Scalar/LICM.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/llvm/lib/Transforms/Scalar/LICM.cpp b/llvm/lib/Transforms/Scalar/LICM.cpp
index 41d9e4c260d..d8b46bbc358 100644
--- a/llvm/lib/Transforms/Scalar/LICM.cpp
+++ b/llvm/lib/Transforms/Scalar/LICM.cpp
@@ -78,8 +78,8 @@ namespace {
AU.addRequired<LoopInfo>();
AU.addRequiredID(LoopSimplifyID);
AU.addRequired<AliasAnalysis>();
+ AU.addPreserved<AliasAnalysis>();
AU.addPreserved<ScalarEvolution>();
- AU.addPreserved<DominanceFrontier>();
AU.addPreservedID(LoopSimplifyID);
}
OpenPOWER on IntegriCloud