[clang] [llvm] [clang][AMDGPU] Use the LLVM ABI library for AMDGCN and AMDGCN SPIR-V under -fexperimental-abi-lowering (PR #223259)
Konstantinos Parasyris via cfe-commits
cfe-commits at lists.llvm.org
Wed Nov 25 12:53:28 PST 2026
================
@@ -3,6 +3,10 @@
// RUN: -o - %s | FileCheck --check-prefix=AMDGCNSPIRV %s
// RUN: %clang_cc1 -triple amdgpu9.06-amd-amdhsa -x hip -emit-llvm -fcuda-is-device -O3 \
// RUN: -o - %s | FileCheck --check-prefix=AMDGPU %s
+// RUN: %clang_cc1 -triple spirv64-amd-amdhsa -x hip -emit-llvm -fcuda-is-device -O3 \
+// RUN: -fexperimental-abi-lowering -o - %s | FileCheck --check-prefix=AMDGCNSPIRV %s
+// RUN: %clang_cc1 -triple amdgpu9.06-amd-amdhsa -x hip -emit-llvm -fcuda-is-device -O3 \
+// RUN: -fexperimental-abi-lowering -o - %s | FileCheck --check-prefix=AMDGPU %s
----------------
koparasy wrote:
Should we add here an `if clangir` case?
https://github.com/llvm/llvm-project/pull/223259
More information about the cfe-commits
mailing list