[llvm-commits] [llvm] r37954 - /llvm/trunk/lib/Transforms/Scalar/LoopRotation.cpp
Devang Patel
dpatel at apple.com
Fri Jul 6 14:43:22 PDT 2007
Author: dpatel
Date: Fri Jul 6 16:43:22 2007
New Revision: 37954
URL: http://llvm.org/viewvc/llvm-project?rev=37954&view=rev
Log:
Request DominanceFrontiner in advance.
Modified:
llvm/trunk/lib/Transforms/Scalar/LoopRotation.cpp
Modified: llvm/trunk/lib/Transforms/Scalar/LoopRotation.cpp
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/lib/Transforms/Scalar/LoopRotation.cpp?rev=37954&r1=37953&r2=37954&view=diff
==============================================================================
--- llvm/trunk/lib/Transforms/Scalar/LoopRotation.cpp (original)
+++ llvm/trunk/lib/Transforms/Scalar/LoopRotation.cpp Fri Jul 6 16:43:22 2007
@@ -63,6 +63,11 @@
AU.addRequiredID(LoopSimplifyID);
AU.addPreservedID(LoopSimplifyID);
AU.addPreserved<DominatorTree>();
+ // Request DominanceFrontier now, even though Loop Rotate does
+ // not use it. This allows Pass Manager to schedule Dominance
+ // Frontier early enough such that one LPPassManager can handle
+ // loop rotate as well as licm pass.
+ AU.addRequired<DominanceFrontier>();
AU.addPreserved<DominanceFrontier>();
}
More information about the llvm-commits
mailing list