[PATCH] D101320: [Inliner] Make ModuleInlinerWrapperPass return PreservedAnalyses::all()
Arthur Eubanks via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Mon Apr 26 17:23:14 PDT 2021
This revision was automatically updated to reflect the committed changes.
Closed by commit rGfd1ff5ee0388: [Inliner] Make ModuleInlinerWrapperPass return PreservedAnalyses::all() (authored by aeubanks).
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D101320/new/
https://reviews.llvm.org/D101320
Files:
llvm/lib/Transforms/IPO/Inliner.cpp
Index: llvm/lib/Transforms/IPO/Inliner.cpp
===================================================================
--- llvm/lib/Transforms/IPO/Inliner.cpp
+++ llvm/lib/Transforms/IPO/Inliner.cpp
@@ -1036,8 +1036,10 @@
else
MPM.addPass(createModuleToPostOrderCGSCCPassAdaptor(
createDevirtSCCRepeatedPass(std::move(PM), MaxDevirtIterations)));
- auto Ret = MPM.run(M, MAM);
+ MPM.run(M, MAM);
IAA.clear();
- return Ret;
+
+ // The ModulePassManager has already taken care of invalidating analyses.
+ return PreservedAnalyses::all();
}
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D101320.340695.patch
Type: text/x-patch
Size: 558 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20210427/bc091cff/attachment.bin>
More information about the llvm-commits
mailing list