[all-commits] [llvm/llvm-project] 81220e: [fatlto] Add coroutine passes when using FatLTO wi...

Paul Kirth via All-commits all-commits at lists.llvm.org
Fri Apr 11 11:31:00 PDT 2025


  Branch: refs/heads/release/20.x
  Home:   https://github.com/llvm/llvm-project
  Commit: 81220e68a49615a3098ae246601467e1dab92fba
      https://github.com/llvm/llvm-project/commit/81220e68a49615a3098ae246601467e1dab92fba
  Author: Paul Kirth <paulkirth at google.com>
  Date:   2025-04-11 (Fri, 11 Apr 2025)

  Changed paths:
    A clang/test/CodeGenCoroutines/pr134409.cpp
    M llvm/lib/Passes/PassBuilderPipelines.cpp

  Log Message:
  -----------
  [fatlto] Add coroutine passes when using FatLTO with ThinLTO (#134434)

When coroutines are used w/ both -ffat-lto-objects and -flto=thin,
the coroutine passes are not added to the optimization pipelines.
Ensure they are added before ModuleOptimization to generate a
working ELF object.

Fixes #134409.

(cherry picked from commit 268c065eab06b81a0d7256ac62c0865b3781e236)



To unsubscribe from these emails, change your notification settings at https://github.com/llvm/llvm-project/settings/notifications


More information about the All-commits mailing list