[StandardInstrumentations] Check that module analyses are properly invalidated
authorArthur Eubanks <aeubanks@google.com>
Thu, 16 Mar 2023 16:57:35 +0000 (09:57 -0700)
committerArthur Eubanks <aeubanks@google.com>
Fri, 17 Mar 2023 16:11:43 +0000 (09:11 -0700)
commit55140fbbcd6527a3fe3636dda2078fe3652558ec
tree5728888ce731d1e8ba9bbe7b1382e6998d3196d4
parentef006eb0bc5e8d069deee7e7d93d7cf5d55fd791
[StandardInstrumentations] Check that module analyses are properly invalidated

Followup to D146003/D146160

Reviewed By: nikic

Differential Revision: https://reviews.llvm.org/D146238
llvm/lib/Passes/StandardInstrumentations.cpp
llvm/unittests/IR/PassManagerTest.cpp