forked from OSchip/llvm-project
Loop Rotation pass preserves dominator tree and frontier.
llvm-svn: 40603
This commit is contained in:
parent
bb97ac4dce
commit
698852561c
|
@ -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