[clang] [clang][HIP] Set the kernel CC of HIPSPV kernels in CodeGen, not in the type (PR #246644)

via cfe-commits cfe-commits at lists.llvm.org
Wed Dec 2 08:58:02 PST 2026


================
@@ -0,0 +1,40 @@
+// RUN: %clang_cc1 -triple spirv64 -x hip -emit-llvm -fcuda-is-device \
+// RUN:   -o - %s | FileCheck %s
----------------
unamedkr wrote:

Added in 27c5338, thanks. The test passes for spirv64, spirv64-unknown-chipstar and spirv64-amd-amdhsa (and check-clang's CodeGenHIP, CodeGenCUDA, CodeGenCUDASPIRV and SemaCUDA directories pass locally).

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


More information about the cfe-commits mailing list