mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2024-09-07 16:54:48 +00:00
Require IVUsers after LCSSA, since LCSSA does not preserve IVUsers.
This results in the pass manager running IVUsers only once for indvars, instead of twice. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@75633 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
a653fc5f6b
commit
1b65253da6
@ -82,15 +82,15 @@ namespace {
|
||||
|
||||
virtual void getAnalysisUsage(AnalysisUsage &AU) const {
|
||||
AU.addRequired<DominatorTree>();
|
||||
AU.addRequired<LoopInfo>();
|
||||
AU.addRequired<ScalarEvolution>();
|
||||
AU.addRequiredID(LoopSimplifyID);
|
||||
AU.addRequired<LoopInfo>();
|
||||
AU.addRequired<IVUsers>();
|
||||
AU.addRequiredID(LCSSAID);
|
||||
AU.addRequired<IVUsers>();
|
||||
AU.addPreserved<ScalarEvolution>();
|
||||
AU.addPreservedID(LoopSimplifyID);
|
||||
AU.addPreserved<IVUsers>();
|
||||
AU.addPreservedID(LCSSAID);
|
||||
AU.addPreserved<IVUsers>();
|
||||
AU.setPreservesCFG();
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user