OSDN Git Service

Nick pointed out that DominanceFrontier and DominanceTree are preserved
authorDan Gohman <gohman@apple.com>
Mon, 21 Sep 2009 17:54:42 +0000 (17:54 +0000)
committerDan Gohman <gohman@apple.com>
Mon, 21 Sep 2009 17:54:42 +0000 (17:54 +0000)
by setPreservesCFG().

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@82463 91177308-0d34-0410-b5e6-96231b3b80d8

lib/Transforms/Scalar/CodeGenLICM.cpp

index 778f3d2..9f1d148 100644 (file)
@@ -104,8 +104,6 @@ void CodeGenLICM::getAnalysisUsage(AnalysisUsage &AU) const {
   AU.addPreservedID(LoopSimplifyID);
   AU.addPreserved<LoopInfo>();
   AU.addPreserved<AliasAnalysis>();
-  AU.addPreserved<DominanceFrontier>();
-  AU.addPreserved<DominatorTree>();
   AU.addPreserved<ScalarEvolution>();
   AU.addPreserved<IVUsers>();