[clang] [clang][SPIRV] Remove volatile variants of GenericCastToPtr* built-ins (PR #146298)

Wenju He via cfe-commits cfe-commits at lists.llvm.org
Mon Jun 30 02:11:44 PDT 2025


================
@@ -115,16 +85,6 @@ __spirv_GenericCastToPtr_ToGlobal(__generic const void *p,
                                   int) __SPIRV_NOEXCEPT {
   return (__global const void *)p;
 }
-static __SPIRV_overloadable __SPIRV_inline __global volatile void *
----------------
wenju-he wrote:

sorry I didn't realize these are static functions. They are not bindings, right?

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


More information about the cfe-commits mailing list