================
@@ -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
_______________________________________________
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

Reply via email to