[llvm-branch-commits] [clang] clang/AMDGPU: Migrate clang-linker-wrapper tests to amdgpu triples (15) (PR #212054)

Robert Imschweiler via llvm-branch-commits llvm-branch-commits at lists.llvm.org
Sat Jul 25 13:11:57 PDT 2026


================
@@ -11,10 +11,10 @@ __attribute__((visibility("protected"), used)) int x;
 // RUN: ln -s clang-linker-wrapper %t.test_dir/clang-linker-wrapper
 
 // RUN: %clang -cc1 %s -triple x86_64-unknown-linux-gnu -emit-obj -o %t.elf.o
-// RUN: %clang -cc1 %s -triple amdgcn-amd-amdhsa -emit-llvm-bc -o %t.amdgpu.bc
+// RUN: %clang -cc1 %s -triple amdgpu-amd-amdhsa -emit-llvm-bc -o %t.amdgpu.bc
 
 // RUN: llvm-offload-binary -o %t.out \
-// RUN:   --image=file=%t.elf.o,kind=openmp,triple=amdgcn-amd-amdhsa,arch=gfx908
+// RUN:   --image=file=%t.elf.o,kind=openmp,triple=amdgpu9.08-amd-amdhsa,arch=gfx908
----------------
ro-i wrote:

is arch=gfx908 still necessary? (also applies to other cases in this diff)

https://github.com/llvm/llvm-project/pull/212054


More information about the llvm-branch-commits mailing list