[clang] [llvm] [AMDGPU] Add OpenCL-specific fence address space masks (PR #78572)
Sameer Sahasrabuddhe via cfe-commits
cfe-commits at lists.llvm.org
Fri May 3 00:23:21 PDT 2024
================
@@ -18365,6 +18366,30 @@ Value *CodeGenFunction::EmitHLSLBuiltinExpr(unsigned BuiltinID,
return nullptr;
}
+void CodeGenFunction::AddAMDGCNAddressSpaceMMRA(llvm::Instruction *Inst,
+ const CallExpr *E,
+ unsigned FirstASNameIdx) {
+ constexpr const char *Tag = "opencl-fence-mem";
----------------
ssahasra wrote:
Defintely drop the "opencl" prefix.
https://github.com/llvm/llvm-project/pull/78572
More information about the cfe-commits
mailing list