[clang] [llvm] [AMDGPU] Add OpenCL-specific fence address space masks (PR #78572)

Pierre van Houtryve via cfe-commits cfe-commits at lists.llvm.org
Fri Apr 26 01:40:44 PDT 2024


================
@@ -69,6 +69,7 @@ BUILTIN(__builtin_amdgcn_iglp_opt, "vIi", "n")
 BUILTIN(__builtin_amdgcn_s_dcache_inv, "v", "n")
 BUILTIN(__builtin_amdgcn_buffer_wbinvl1, "v", "n")
 BUILTIN(__builtin_amdgcn_fence, "vUicC*", "n")
+BUILTIN(__builtin_amdgcn_masked_fence, "vUiUicC*", "n")
----------------
Pierre-vh wrote:

Added docs with tests. I also documented the other fence intrinsic 

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


More information about the cfe-commits mailing list