From: Devang Patel Date: Mon, 30 Jul 2007 20:22:53 +0000 (+0000) Subject: Loop Rotation pass preserves dominator tree and frontier. X-Git-Url: http://plrg.eecs.uci.edu/git/?a=commitdiff_plain;h=d9a6dcba9f394078cff11c8f09a48f2c072de18d;p=oota-llvm.git Loop Rotation pass preserves dominator tree and frontier. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@40603 91177308-0d34-0410-b5e6-96231b3b80d8 --- diff --git a/lib/Transforms/Scalar/LoopRotation.cpp b/lib/Transforms/Scalar/LoopRotation.cpp index d35a8edd3c4..a9c3fb9533f 100644 --- a/lib/Transforms/Scalar/LoopRotation.cpp +++ b/lib/Transforms/Scalar/LoopRotation.cpp @@ -62,6 +62,8 @@ namespace { AU.addPreserved(); AU.addRequiredID(LoopSimplifyID); AU.addPreservedID(LoopSimplifyID); + AU.addPreserved(); + AU.addPreserved(); } // Helper functions