[llvm-branch-commits] [llvm] [LLVM][Coroutines] Transform "coro_must_elide" calls to switch ABI coroutines to the `noalloc` variant (PR #99285)
Wei Wang via llvm-branch-commits
llvm-branch-commits at lists.llvm.org
Mon Jul 22 10:40:33 PDT 2024
================
@@ -968,8 +969,8 @@ PassBuilder::buildInlinerPipeline(OptimizationLevel Level,
// it's been modified since.
MainCGPipeline.addPass(createCGSCCToFunctionPassAdaptor(
RequireAnalysisPass<ShouldNotRunFunctionPassesAnalysis, Function>()));
-
MainCGPipeline.addPass(CoroSplitPass(Level != OptimizationLevel::O0));
+ MainCGPipeline.addPass(CoroAnnotationElidePass());
----------------
apolloww wrote:
Yes, the pipeline will need to be adjusted for the new pass.
https://github.com/llvm/llvm-project/pull/99285
More information about the llvm-branch-commits
mailing list