[clang] [llvm] [LLVM][Coro] Add LifetimeMovePass (PR #144319)
Nikita Popov via llvm-commits
llvm-commits at lists.llvm.org
Mon Jun 16 02:19:38 PDT 2025
================
@@ -559,6 +562,7 @@ PassBuilder::buildO1FunctionSimplificationPipeline(OptimizationLevel Level,
FPM.addPass(ADCEPass());
FPM.addPass(
SimplifyCFGPass(SimplifyCFGOptions().convertSwitchRangeToICmp(true)));
+ FPM.addPass(LifetimeMovePass());
----------------
nikic wrote:
Surely this pass does not need to be scheduled 3 times in the `-O1` pipeline? Shouldn't it be sufficient to run it once per function?
https://github.com/llvm/llvm-project/pull/144319
More information about the llvm-commits
mailing list