aboutsummaryrefslogtreecommitdiff
path: root/llvm/lib/LTO/LTOBackend.cpp
diff options
context:
space:
mode:
authorArthur Eubanks <aeubanks@google.com>2023-03-15 13:27:36 -0700
committerArthur Eubanks <aeubanks@google.com>2023-03-15 13:27:36 -0700
commit04d20195d6b3747a3cdc882105320b32cb192b8a (patch)
treeb61931fcbc6b479974c1c497d5b95510aa0c1cbb /llvm/lib/LTO/LTOBackend.cpp
parentd6c0724eb158efcdcd4e31289dcb954a441c4939 (diff)
downloadllvm-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.cpp2
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);