[all-commits] [llvm/llvm-project] 7d8b50: [clang][fat-lto-objects] Make module flags match n...

Paul Kirth via All-commits all-commits at lists.llvm.org
Wed Feb 28 19:12:06 PST 2024


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 7d8b50aaab8e0f935e3cb1f3f397e98b9e3ee241
      https://github.com/llvm/llvm-project/commit/7d8b50aaab8e0f935e3cb1f3f397e98b9e3ee241
  Author: Paul Kirth <paulkirth at google.com>
  Date:   2024-02-28 (Wed, 28 Feb 2024)

  Changed paths:
    M clang/lib/CodeGen/BackendUtil.cpp
    M clang/test/CodeGen/fat-lto-objects.c

  Log Message:
  -----------
  [clang][fat-lto-objects] Make module flags match non-FatLTO pipelines (#83159)

In addition to being rather hard to follow, there isn't a good reason
why FatLTO shouldn't just share the same code for setting module flags
for (Thin)LTO. This patch simplifies the logic and makes sure we use set
these flags in a consistent way, independent of FatLTO.

Additionally, we now test that output in the .llvm.lto section actually
matches the output from Full and Thin LTO compilation.



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