HomePhabricator

[NewPM] Don't mark AA analyses as preserved

Authored by aeubanks on May 6 2021, 4:30 PM.

Description

[NewPM] Don't mark AA analyses as preserved

Currently all AA analyses marked as preserved are stateless, not taking
into account their dependent analyses. So there's no need to mark them
as preserved, they won't be invalidated unless their analyses are.

SCEVAAResults was the one exception to this, it was treated like a
typical analysis result. Make it like the others and don't invalidate
unless SCEV is invalidated.

Reviewed By: asbirlea

Differential Revision: https://reviews.llvm.org/D102032

Details

Committed
aeubanksMay 18 2021, 1:49 PM
Reviewer
asbirlea
Differential Revision
D102032: [NewPM] Don't mark AA analyses as preserved
Parents
rGfd5e79ff1220: [MinGW] Fix the cmake condition for -mbig-obj
Branches
Unknown
Tags
Unknown