[llvm] Reland "[LTO] Run Argument Promotion before IPSCCP" (PR #111853)
Nikita Popov via llvm-commits
llvm-commits at lists.llvm.org
Tue Nov 5 02:29:55 PST 2024
================
@@ -1840,9 +1849,12 @@ PassBuilder::buildLTODefaultPipeline(OptimizationLevel Level,
MPM.addPass(CalledValuePropagationPass());
}
- // Now deduce any function attributes based in the current code.
- MPM.addPass(
- createModuleToPostOrderCGSCCPassAdaptor(PostOrderFunctionAttrsPass()));
+ // For higher optimization levels this Pass has just run, so don't repeat it.
----------------
nikic wrote:
I don't think this is needed, LTO at `-O1` is not really something anybody cares about.
https://github.com/llvm/llvm-project/pull/111853
More information about the llvm-commits
mailing list