[all-commits] [llvm/llvm-project] 16ab08: [clang][fat-lto-objects] Make module flags match n...
Paul Kirth via All-commits
all-commits at lists.llvm.org
Mon Mar 11 12:49:23 PDT 2024
Branch: refs/heads/release/18.x
Home: https://github.com/llvm/llvm-project
Commit: 16ab0812d2010dad76f87d4d50da8e79e0e75e71
https://github.com/llvm/llvm-project/commit/16ab0812d2010dad76f87d4d50da8e79e0e75e71
Author: Paul Kirth <paulkirth at google.com>
Date: 2024-03-11 (Mon, 11 Mar 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.
(cherry picked from commit 7d8b50aaab8e0f935e3cb1f3f397e98b9e3ee241)
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