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

Joseph Huber via cfe-commits cfe-commits at lists.llvm.org
Fri Apr 3 13:15:15 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:
----------------
jhuber6 wrote:

Yeah, apparently it's been there awhile. I don't know why this was never added to that list. I can try to do that first.

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


More information about the cfe-commits mailing list