From: Chris Lattner Date: Sun, 29 Aug 2010 07:02:56 +0000 (+0000) Subject: licm preserves the cfg, it doesn't have to explicitly say it X-Git-Url: http://plrg.eecs.uci.edu/git/?a=commitdiff_plain;h=e418ac832c1a2813736c44f6ec5c646b4c89c339;p=oota-llvm.git licm preserves the cfg, it doesn't have to explicitly say it preserves domfrontier. It does preserve AA though. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@112419 91177308-0d34-0410-b5e6-96231b3b80d8 --- diff --git a/lib/Transforms/Scalar/LICM.cpp b/lib/Transforms/Scalar/LICM.cpp index 41d9e4c260d..d8b46bbc358 100644 --- a/lib/Transforms/Scalar/LICM.cpp +++ b/lib/Transforms/Scalar/LICM.cpp @@ -78,8 +78,8 @@ namespace { AU.addRequired(); AU.addRequiredID(LoopSimplifyID); AU.addRequired(); + AU.addPreserved(); AU.addPreserved(); - AU.addPreserved(); AU.addPreservedID(LoopSimplifyID); }