https://github.com/aobolensk created 
https://github.com/llvm/llvm-project/pull/237225

Follow-up to #235901 

>From d1f91438f3471e79a6f0c049a46854d52bfef2a3 Mon Sep 17 00:00:00 2001
From: Arseniy Obolenskiy <[email protected]>
Date: Fri, 30 Oct 2026 14:52:46 +0100
Subject: [PATCH] [NFC][CIR][AMDGPU] Use amdgpu-amd-amdhsa triple in offload
 printf tests

Follow-up to #235901 for tests added later in #231563
---
 clang/test/CIR/Lowering/offload-printf-amdgpu-unsupported.cir | 2 +-
 clang/test/CIR/Lowering/offload-printf-amdgpu.cir             | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/clang/test/CIR/Lowering/offload-printf-amdgpu-unsupported.cir 
b/clang/test/CIR/Lowering/offload-printf-amdgpu-unsupported.cir
index 131ffc8e0e77ee..457ebca2e007dc 100644
--- a/clang/test/CIR/Lowering/offload-printf-amdgpu-unsupported.cir
+++ b/clang/test/CIR/Lowering/offload-printf-amdgpu-unsupported.cir
@@ -6,7 +6,7 @@
 !s32i = !cir.int<s, 32>
 !s8i = !cir.int<s, 8>
 
-module attributes {cir.triple = "amdgcn-amd-amdhsa",
+module attributes {cir.triple = "amdgpu-amd-amdhsa",
                    cir.amdgpu_printf_kind = "hostcall"} {
   cir.func @p(%fmt: !cir.ptr<!s8i>, %v: !cir.vector<4 x !s32i>) -> !s32i {
     // expected-error @below {{unsupported argument type '!cir.vector<4 x 
!cir.int<s, 32>>' for AMDGPU printf}}
diff --git a/clang/test/CIR/Lowering/offload-printf-amdgpu.cir 
b/clang/test/CIR/Lowering/offload-printf-amdgpu.cir
index 82fa0b9c23b0bd..8b7481823cf452 100644
--- a/clang/test/CIR/Lowering/offload-printf-amdgpu.cir
+++ b/clang/test/CIR/Lowering/offload-printf-amdgpu.cir
@@ -1,4 +1,4 @@
-// RUN: cir-translate %s -cir-to-llvmir --target amdgcn-amd-amdhsa 
--disable-cc-lowering --split-input-file -o - \
+// RUN: cir-translate %s -cir-to-llvmir --target amdgpu-amd-amdhsa 
--disable-cc-lowering --split-input-file -o - \
 // RUN:   | FileCheck %s --check-prefixes=HOSTCALL,BUFFERED
 
 !s32i = !cir.int<s, 32>

_______________________________________________
cfe-commits mailing list
[email protected]
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

Reply via email to