[StandardInstrumentations] Check function analysis invalidation in module passes...
authorArthur Eubanks <aeubanks@google.com>
Wed, 15 Mar 2023 18:46:44 +0000 (11:46 -0700)
committerArthur Eubanks <aeubanks@google.com>
Wed, 15 Mar 2023 20:17:21 +0000 (13:17 -0700)
commitd6c0724eb158efcdcd4e31289dcb954a441c4939
treea021468f4b30f18c5c209f459e80c0ada6705f71
parent20a7ea49f40e2d47eb6b87acf835782dece92f08
[StandardInstrumentations] Check function analysis invalidation in module passes as well

See comments for why we now need to pass in the MAM instead of the FAM.

Reviewed By: nikic

Differential Revision: https://reviews.llvm.org/D146160
llvm/include/llvm/Passes/StandardInstrumentations.h
llvm/lib/LTO/LTOBackend.cpp
llvm/lib/LTO/ThinLTOCodeGenerator.cpp
llvm/lib/Passes/PassBuilderBindings.cpp
llvm/lib/Passes/StandardInstrumentations.cpp
llvm/tools/opt/NewPMDriver.cpp
llvm/unittests/IR/PassManagerTest.cpp