diff options
author | Devang Patel <dpatel@apple.com> | 2007-07-06 21:43:22 +0000 |
---|---|---|
committer | Devang Patel <dpatel@apple.com> | 2007-07-06 21:43:22 +0000 |
commit | 7be06f9158bb139b88d68fc5f149018db88dc6a0 (patch) | |
tree | 40dbddf4fd384ad9a8d4494f02f33763af33d5d3 /lib/Transforms/Scalar/LoopRotation.cpp | |
parent | 658f625d168a0a27965904f4b083316b3f8907dd (diff) | |
download | llvm-7be06f9158bb139b88d68fc5f149018db88dc6a0.tar.gz llvm-7be06f9158bb139b88d68fc5f149018db88dc6a0.tar.bz2 llvm-7be06f9158bb139b88d68fc5f149018db88dc6a0.tar.xz |
Request DominanceFrontiner in advance.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@37954 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Transforms/Scalar/LoopRotation.cpp')
-rw-r--r-- | lib/Transforms/Scalar/LoopRotation.cpp | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/lib/Transforms/Scalar/LoopRotation.cpp b/lib/Transforms/Scalar/LoopRotation.cpp index 807d463abb..2a7b06c6c3 100644 --- a/lib/Transforms/Scalar/LoopRotation.cpp +++ b/lib/Transforms/Scalar/LoopRotation.cpp @@ -63,6 +63,11 @@ namespace { 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>(); } |