[clang] [llvm] AMDGPU: Fix typos in test triple OS components (PR #206065)

Matt Arsenault via cfe-commits cfe-commits at lists.llvm.org
Fri Jun 26 06:54:18 PDT 2026


https://github.com/arsenm created https://github.com/llvm/llvm-project/pull/206065

Co-Authored-By: Claude <noreply at anthropic.com>

>From 75f9369f0bbf316de91d857165e0990e4c79e87c Mon Sep 17 00:00:00 2001
From: Matt Arsenault <Matthew.Arsenault at amd.com>
Date: Fri, 26 Jun 2026 15:47:57 +0200
Subject: [PATCH] AMDGPU: Fix typos in test triple OS components

Co-Authored-By: Claude <noreply at anthropic.com>
---
 clang/test/DebugInfo/Generic/bitfield-0-struct.c     | 2 +-
 clang/test/SemaSYCL/sycl-cconv-win.cpp               | 2 +-
 llvm/test/CodeGen/AMDGPU/GlobalISel/shufflevector.ll | 2 +-
 3 files changed, 3 insertions(+), 3 deletions(-)

diff --git a/clang/test/DebugInfo/Generic/bitfield-0-struct.c b/clang/test/DebugInfo/Generic/bitfield-0-struct.c
index 9fadf898e3466..cdc4de6aa071c 100644
--- a/clang/test/DebugInfo/Generic/bitfield-0-struct.c
+++ b/clang/test/DebugInfo/Generic/bitfield-0-struct.c
@@ -1,5 +1,5 @@
 // RUN: %clang_cc1 -triple x86_64-unk-unk -o - -emit-llvm -debug-info-kind=limited %s | FileCheck --check-prefixes NOSEPARATOR,BOTH %s
-// RUN: %clang_cc1 -triple amdgcn-unk-unk -o - -emit-llvm -debug-info-kind=limited %s | FileCheck --check-prefixes SEPARATOR,BOTH %s
+// RUN: %clang_cc1 -triple amdgcn-unknown-unknown -o - -emit-llvm -debug-info-kind=limited %s | FileCheck --check-prefixes SEPARATOR,BOTH %s
 
 struct First {
   // BOTH-DAG: ![[FIRST:[0-9]+]] = distinct !DICompositeType(tag: DW_TAG_structure_type, name: "First", file: !{{[0-9]+}}, line: {{[0-9]+}}, size: 32, elements: ![[FIRST_ELEMENTS:[0-9]+]])
diff --git a/clang/test/SemaSYCL/sycl-cconv-win.cpp b/clang/test/SemaSYCL/sycl-cconv-win.cpp
index f0c22a2ed3921..c95a870e3fb50 100644
--- a/clang/test/SemaSYCL/sycl-cconv-win.cpp
+++ b/clang/test/SemaSYCL/sycl-cconv-win.cpp
@@ -1,4 +1,4 @@
-// RUN: %clang_cc1 -isystem %S/Inputs/ -fsycl-is-device -triple amdgcn-amd-hsa -aux-triple x86_64-pc-windows-msvc -fsyntax-only -verify %s
+// RUN: %clang_cc1 -isystem %S/Inputs/ -fsycl-is-device -triple amdgcn-amd-amdhsa -aux-triple x86_64-pc-windows-msvc -fsyntax-only -verify %s
 
 // expected-no-diagnostics
 
diff --git a/llvm/test/CodeGen/AMDGPU/GlobalISel/shufflevector.ll b/llvm/test/CodeGen/AMDGPU/GlobalISel/shufflevector.ll
index a247a2172db2b..29309b4242b8a 100644
--- a/llvm/test/CodeGen/AMDGPU/GlobalISel/shufflevector.ll
+++ b/llvm/test/CodeGen/AMDGPU/GlobalISel/shufflevector.ll
@@ -1,5 +1,5 @@
 ; NOTE: Assertions have been autogenerated by utils/update_llc_test_checks.py
-; RUN: llc -global-isel -mtriple=amdgcn -mtriple=amdgcn-amd-hmcsa -mcpu=gfx942 < %s | FileCheck -check-prefix=GFX942 %s
+; RUN: llc -global-isel -mtriple=amdgcn-amd-amdhsa -mcpu=gfx942 < %s | FileCheck -check-prefix=GFX942 %s
 
 define void @shuffle_to_extract(ptr addrspace(3) %in, ptr addrspace(3) %out) {
 ; GFX942-LABEL: shuffle_to_extract:



More information about the cfe-commits mailing list