Currently there is no way to enable the module inliner
when linking with full lto. This patch enables that
option.
Details
Details
Diff Detail
Diff Detail
- Repository
- rG LLVM Github Monorepo
Event Timeline
llvm/lib/Passes/PassBuilderPipelines.cpp | ||
---|---|---|
1713 | formatting is wrong, please run git clang-format |
Comment Actions
taking a closer look, this doesn't make sense. the LTO pipeline doesn't run the function simplification pipeline in ModuleInlinerWrapperPass, but buildModuleInlinerPipeline will run the function simplification pipeline. maybe you just want ModuleInlinerPass?
Comment Actions
Oh I see. I was trying to copy over the changes from how it was done in the thinLTO pipeline, but you're right, I only really want the ModuleInlinerPass. I've updated the patch to reflect that.
Comment Actions
Thanks!
I don't have commit access so would you mind committing it for me, my username is ibricchi and email is ibricchi@student.ethz.ch.
formatting is wrong, please run git clang-format