[NewPM] Invalidate AAManager after populating GlobalsAA
authorArthur Eubanks <aeubanks@google.com>
Tue, 27 Apr 2021 15:56:11 +0000 (08:56 -0700)
committerArthur Eubanks <aeubanks@google.com>
Mon, 3 May 2021 23:37:32 +0000 (16:37 -0700)
commit2df3426fd15e41880c2da1484b560cd9c5f1f842
tree7a8693e1d301aaa21835bad0efe5880fd9c5057a
parent182831258bfe520140956a4da6c8c6177d37299a
[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
clang/test/Driver/debug-pass-structure.c
llvm/include/llvm/Transforms/IPO/Inliner.h
llvm/lib/Passes/PassBuilder.cpp
llvm/test/Other/new-pm-defaults.ll
llvm/test/Other/new-pm-thinlto-defaults.ll
llvm/test/Other/new-pm-thinlto-postlink-pgo-defaults.ll
llvm/test/Other/new-pm-thinlto-postlink-samplepgo-defaults.ll
llvm/test/Other/new-pm-thinlto-prelink-pgo-defaults.ll
llvm/test/Other/new-pm-thinlto-prelink-samplepgo-defaults.ll
llvm/test/Other/opt-O3-pipeline.ll