[clang] [Clang] [Driver] Normalize target features forwarded to external tools (PR #245200)
via cfe-commits
cfe-commits at lists.llvm.org
Tue Nov 24 00:19:12 PST 2026
================
@@ -0,0 +1,26 @@
+// Normalize target features before forwarding them to the linker.
+// RUN: %clang -### --target=amdgcn-amd-amdpal -mcpu=gfx1010 -nostdlib \
----------------
Ris-Bali wrote:
I used amdpal here to reach AMDGPU'S standalone linker path without requiring a ROCm installation. We can use -amdhsa instead as well with -nogpulib to disable the library dependency; I verified that it exercises the same linker path.
https://github.com/llvm/llvm-project/pull/245200
More information about the cfe-commits
mailing list