mirror of
https://github.com/RPCS3/llvm.git
synced 2024-12-14 15:39:06 +00:00
Specify that indvars actually preserve LCSSA. This has been done for a while, but I
forgot to put in the analysis usage. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@29867 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
0ff2d31766
commit
8a24749cb8
@ -79,6 +79,7 @@ namespace {
|
||||
AU.addRequired<ScalarEvolution>();
|
||||
AU.addRequired<LoopInfo>();
|
||||
AU.addPreservedID(LoopSimplifyID);
|
||||
AU.addPreservedID(LCSSAID);
|
||||
AU.setPreservesCFG();
|
||||
}
|
||||
private:
|
||||
@ -570,4 +571,6 @@ void IndVarSimplify::runOnLoop(Loop *L) {
|
||||
#endif
|
||||
|
||||
DeleteTriviallyDeadInstructions(DeadInsts);
|
||||
|
||||
assert(L->isLCSSAForm());
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user