HomePhabricator

[NewPM] Invalidate AAManager after populating GlobalsAA

Authored by aeubanks on Apr 27 2021, 8:56 AM.

Description

[NewPM] Invalidate AAManager after populating GlobalsAA

GlobalsAA is only created at the beginning of the inliner pipeline. If
an AAManager is cached from previous passes, it won't get rebuilt to
include the newly created GlobalsAA.

Reviewed By: mtrofin

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

Details