[clang] [llvm] [HIP] Fix ubsan function checks applied to kernel functions (PR #188872)

Matt Arsenault via cfe-commits cfe-commits at lists.llvm.org
Fri Apr 3 13:13:40 PDT 2026


================
@@ -323,6 +323,7 @@ constexpr bool isCallableCC(CallingConv::ID CC) {
   case CallingConv::AMDGPU_PS:
   case CallingConv::AMDGPU_VS:
   case CallingConv::SPIR_KERNEL:
+  case CallingConv::PTX_Kernel:
----------------
arsenm wrote:

This is a separate change (which should also get a new verifier test). I'm also surprised this is broken because ptx_kernel was specifically introduced not that long ago to disallow calls 

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


More information about the cfe-commits mailing list