diff options
-rw-r--r-- | polly/lib/Transform/ScopInliner.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/polly/lib/Transform/ScopInliner.cpp b/polly/lib/Transform/ScopInliner.cpp index 7aaa367774e..8342a0588f1 100644 --- a/polly/lib/Transform/ScopInliner.cpp +++ b/polly/lib/Transform/ScopInliner.cpp @@ -82,6 +82,7 @@ public: ModuleAnalysisManager MAM; PB.registerModuleAnalyses(MAM); + MAM.registerPass([&] { return FunctionAnalysisManagerModuleProxy(FAM); }); ModulePassManager MPM; MPM.addPass(AlwaysInlinerPass()); Module *M = F->getParent(); |