[clang] clang/AMDGPU: Rename amdgcn triples to amdgpu in cc1 tests (14) (PR #212053)

Matt Arsenault via cfe-commits cfe-commits at lists.llvm.org
Sat Jul 25 14:14:40 PDT 2026


================
@@ -5,31 +5,31 @@
 
 // Build the fake device library in the way rocm-device-libs should be built.
 //
-// RUN: %clang_cc1 -x cl -triple amdgcn-amd-amdhsa -fdenormal-fp-math-f32=dynamic \
+// RUN: %clang_cc1 -x cl -triple amdgpu-amd-amdhsa -fdenormal-fp-math-f32=dynamic \
 // RUN:   -mcode-object-version=none -emit-llvm-bc \
 // RUN:   %S/Inputs/ocml-sample.cl -o %t.dynamic.f32.bc
 //
-// RUN: %clang_cc1 -x cl -triple amdgcn-amd-amdhsa -fdenormal-fp-math=dynamic \
+// RUN: %clang_cc1 -x cl -triple amdgpu-amd-amdhsa -fdenormal-fp-math=dynamic \
 // RUN:   -mcode-object-version=none -emit-llvm-bc \
 // RUN:   %S/Inputs/ocml-sample.cl -o %t.dynamic.full.bc
 
 
 
 // Check the default behavior with no denormal-fp-math arguments.
-// RUN: %clang_cc1 -x hip -triple amdgcn-amd-amdhsa -target-cpu gfx803 -fcuda-is-device \
----------------
arsenm wrote:

The script was file at a time driven, fully converting all the cases in a file. This file does have some run lines without a target-cpu, it just happens it also has run lines that do not 

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


More information about the cfe-commits mailing list