It was already disabled under -Oz in
buildFunctionSimplificationPipeline(), but not in
buildModuleOptimizationPipeline()/addPGOInstrPasses().
Details
Details
Diff Detail
Diff Detail
- Repository
- rG LLVM Github Monorepo
Event Timeline
Comment Actions
LGTM, thanks! This should be in-line with the behavior of the legacy PM pipeline.
llvm/lib/Passes/PassBuilder.cpp | ||
---|---|---|
838 | might be good to add a comment like Header duplication is disabled for Oz, like in the legacy PM. |
might be good to add a comment like Header duplication is disabled for Oz, like in the legacy PM.