All loop passes should preserve all analyses in LoopAnalysisResults. Add
checks for those.
Note that due to PR44815, we don't check LAR's ScalarEvolution.
Apparently calling SE.verify() can change its results.
Differential D98805
[NewPM] Verify LoopAnalysisResults after a loop pass aeubanks on Mar 17 2021, 12:23 PM. Authored by
Details
All loop passes should preserve all analyses in LoopAnalysisResults. Add Note that due to PR44815, we don't check LAR's ScalarEvolution.
Diff Detail
Event TimelineComment Actions Seems reasonable to verify MSSA unconditionally at this point but if the debug build becomes too overloaded, it can be put under the VerifyMemorySSA flag, like in other loop passes. |