[all-commits] [llvm/llvm-project] 2c0ec0: [AMDGPU] Correctly pass the target-id to `ld.lld` ...
Joseph Huber via All-commits
all-commits at lists.llvm.org
Mon Jul 29 10:09:59 PDT 2024
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: 2c0ec01b516deba8922c1aae59b1907de6443587
https://github.com/llvm/llvm-project/commit/2c0ec01b516deba8922c1aae59b1907de6443587
Author: Joseph Huber <huberjn at outlook.com>
Date: 2024-07-29 (Mon, 29 Jul 2024)
Changed paths:
M clang/lib/Driver/ToolChains/AMDGPU.cpp
M clang/test/Driver/amdgpu-toolchain.c
Log Message:
-----------
[AMDGPU] Correctly pass the target-id to `ld.lld` (#101037)
Summary:
The `ld.lld` linker handles LTO, but it does not understand the
target-id syntax some AMDGPU targets use. This patch parses the
target-id and passes the processor name in `-mcpu` and features in
`-mattr`.
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