From: Dan Gohman Date: Mon, 21 Sep 2009 17:54:42 +0000 (+0000) Subject: Nick pointed out that DominanceFrontier and DominanceTree are preserved X-Git-Url: http://plrg.eecs.uci.edu/git/?a=commitdiff_plain;h=471fbf9949cf263b7087cd0f35ddc4cbbb81db35;p=oota-llvm.git Nick pointed out that DominanceFrontier and DominanceTree are preserved by setPreservesCFG(). git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@82463 91177308-0d34-0410-b5e6-96231b3b80d8 --- diff --git a/lib/Transforms/Scalar/CodeGenLICM.cpp b/lib/Transforms/Scalar/CodeGenLICM.cpp index 778f3d25a67..9f1d148ad83 100644 --- a/lib/Transforms/Scalar/CodeGenLICM.cpp +++ b/lib/Transforms/Scalar/CodeGenLICM.cpp @@ -104,8 +104,6 @@ void CodeGenLICM::getAnalysisUsage(AnalysisUsage &AU) const { AU.addPreservedID(LoopSimplifyID); AU.addPreserved(); AU.addPreserved(); - AU.addPreserved(); - AU.addPreserved(); AU.addPreserved(); AU.addPreserved();