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

Victor Lomuller via cfe-commits cfe-commits at lists.llvm.org
Wed Jul 2 03:16:13 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 *
----------------
Naghasan wrote:

yeah, no bindings required as they translate to an LLVM insn.

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


More information about the cfe-commits mailing list