[llvm] [LTO][Pipelines][Coro] Handle coroutines in LTO pipeline (PR #126168)

Vitaly Buka via llvm-commits llvm-commits at lists.llvm.org
Fri Feb 7 01:11:32 PST 2025


================
@@ -1816,6 +1817,17 @@ PassBuilder::buildLTODefaultPipeline(OptimizationLevel Level,
   // in the current module.
   MPM.addPass(CrossDSOCFIPass());
 
+  MPM.addPass(CoroEarlyPass());
+
+  auto Exit = llvm::make_scope_exit([&]() {
----------------
vitalybuka wrote:

Yep, it's passing now https://buildkite.com/llvm-project/github-pull-requests/builds/144667#0194df93-95bb-489d-8995-eea612a0835e


https://github.com/llvm/llvm-project/pull/126168


More information about the llvm-commits mailing list