[clang] [NFC][CIR][AMDGPU] Use amdgpu-amd-amdhsa triple in offload printf tests (PR #237225)
via cfe-commits
cfe-commits at lists.llvm.org
Fri Oct 30 06:56:05 PDT 2026
llvmorg-github-actions[bot] wrote:
<!--LLVM PR SUMMARY COMMENT-->
@llvm/pr-subscribers-clang
Author: Arseniy Obolenskiy (aobolensk)
<details>
<summary>Changes</summary>
Follow-up to #<!-- -->235901
---
Full diff: https://github.com/llvm/llvm-project/pull/237225.diff
2 Files Affected:
- (modified) clang/test/CIR/Lowering/offload-printf-amdgpu-unsupported.cir (+1-1)
- (modified) clang/test/CIR/Lowering/offload-printf-amdgpu.cir (+1-1)
``````````diff
diff --git a/clang/test/CIR/Lowering/offload-printf-amdgpu-unsupported.cir b/clang/test/CIR/Lowering/offload-printf-amdgpu-unsupported.cir
index 131ffc8e0e77e..457ebca2e007d 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 82fa0b9c23b0b..8b7481823cf45 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>
``````````
</details>
https://github.com/llvm/llvm-project/pull/237225
More information about the cfe-commits
mailing list