[llvm] [PassBuilder] Replace `bool LTOPreLink` with `ThinOrFullLTOPhase Phase` (PR #114564)
Nikita Popov via llvm-commits
llvm-commits at lists.llvm.org
Fri Nov 1 09:44:41 PDT 2024
================
@@ -2220,6 +2220,8 @@ ModulePassManager PassBuilder::buildO0DefaultPipeline(OptimizationLevel Level,
invokeOptimizerLastEPCallbacks(MPM, Level);
+ bool LTOPreLink = Phase == ThinOrFullLTOPhase::FullLTOPreLink ||
+ Phase == ThinOrFullLTOPhase::ThinLTOPreLink;
----------------
nikic wrote:
Same here.
https://github.com/llvm/llvm-project/pull/114564
More information about the llvm-commits
mailing list