diff options
author | Arthur Eubanks <aeubanks@google.com> | 2023-03-15 13:27:36 -0700 |
---|---|---|
committer | Arthur Eubanks <aeubanks@google.com> | 2023-03-15 13:27:36 -0700 |
commit | 04d20195d6b3747a3cdc882105320b32cb192b8a (patch) | |
tree | b61931fcbc6b479974c1c497d5b95510aa0c1cbb /llvm/lib/LTO/LTOBackend.cpp | |
parent | d6c0724eb158efcdcd4e31289dcb954a441c4939 (diff) | |
download | llvm-04d20195d6b3747a3cdc882105320b32cb192b8a.zip llvm-04d20195d6b3747a3cdc882105320b32cb192b8a.tar.gz llvm-04d20195d6b3747a3cdc882105320b32cb192b8a.tar.bz2 |
Revert "[StandardInstrumentations] Check function analysis invalidation in module passes as well"
This reverts commit d6c0724eb158efcdcd4e31289dcb954a441c4939.
Breaks clang/flang builds.
Diffstat (limited to 'llvm/lib/LTO/LTOBackend.cpp')
-rw-r--r-- | llvm/lib/LTO/LTOBackend.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/llvm/lib/LTO/LTOBackend.cpp b/llvm/lib/LTO/LTOBackend.cpp index d574ae5..4c41a38 100644 --- a/llvm/lib/LTO/LTOBackend.cpp +++ b/llvm/lib/LTO/LTOBackend.cpp @@ -260,7 +260,7 @@ static void runNewPMPasses(const Config &Conf, Module &Mod, TargetMachine *TM, PassInstrumentationCallbacks PIC; StandardInstrumentations SI(Mod.getContext(), Conf.DebugPassManager); - SI.registerCallbacks(PIC, &MAM); + SI.registerCallbacks(PIC, &FAM); PassBuilder PB(TM, Conf.PTO, PGOOpt, &PIC); RegisterPassPlugins(Conf.PassPlugins, PB); |