[PATCH] D86224: [NFC] Expose the -Oz module optimization pipeline to opt
Mircea Trofin via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Thu Aug 20 08:40:16 PDT 2020
mtrofin updated this revision to Diff 286830.
mtrofin added a comment.
comment-doc for parameter
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D86224/new/
https://reviews.llvm.org/D86224
Files:
llvm/lib/Passes/PassRegistry.def
Index: llvm/lib/Passes/PassRegistry.def
===================================================================
--- llvm/lib/Passes/PassRegistry.def
+++ llvm/lib/Passes/PassRegistry.def
@@ -85,6 +85,8 @@
MODULE_PASS("sample-profile", SampleProfileLoaderPass())
MODULE_PASS("scc-oz-module-inliner",
buildInlinerPipeline(OptimizationLevel::Oz, ThinLTOPhase::None, DebugLogging))
+MODULE_PASS("oz-module-optimizer",
+ buildModuleOptimizationPipeline(OptimizationLevel::Oz, DebugLogging, /*LTOPreLink*/false))
MODULE_PASS("strip-dead-prototypes", StripDeadPrototypesPass())
MODULE_PASS("synthetic-counts-propagation", SyntheticCountsPropagation())
MODULE_PASS("wholeprogramdevirt", WholeProgramDevirtPass(nullptr, nullptr))
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D86224.286830.patch
Type: text/x-patch
Size: 725 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20200820/26c0aee2/attachment.bin>
More information about the llvm-commits
mailing list