mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2024-11-24 19:52:54 +01:00
Loop Rotation pass preserves dominator tree and frontier.
llvm-svn: 40603
This commit is contained in:
parent
2e8466c22a
commit
84144042b2
@ -62,6 +62,8 @@ namespace {
|
|||||||
AU.addPreserved<LoopInfo>();
|
AU.addPreserved<LoopInfo>();
|
||||||
AU.addRequiredID(LoopSimplifyID);
|
AU.addRequiredID(LoopSimplifyID);
|
||||||
AU.addPreservedID(LoopSimplifyID);
|
AU.addPreservedID(LoopSimplifyID);
|
||||||
|
AU.addPreserved<DominatorTree>();
|
||||||
|
AU.addPreserved<DominanceFrontier>();
|
||||||
}
|
}
|
||||||
|
|
||||||
// Helper functions
|
// Helper functions
|
||||||
|
Loading…
Reference in New Issue
Block a user