[clang] [clang][AMDGPU] Clean-up handling of named barrier type (PR #207687)

Pierre van Houtryve via cfe-commits cfe-commits at lists.llvm.org
Mon Jul 6 04:47:47 PDT 2026


================
@@ -56,6 +56,8 @@ const LangASMap AMDGPUTargetInfo::AMDGPUAddrSpaceMap = {
     llvm::AMDGPUAS::PRIVATE_ADDRESS, // hlsl_input
     llvm::AMDGPUAS::PRIVATE_ADDRESS, // hlsl_output
     llvm::AMDGPUAS::GLOBAL_ADDRESS,  // hlsl_push_constant
+    llvm::AMDGPUAS::FLAT_ADDRESS,    // wasm_funcref
+    llvm::AMDGPUAS::LOCAL_ADDRESS,   // hip_barrier
----------------
Pierre-vh wrote:

Yes, if this is approved, I will rebase the barrier AS patch on top of this, and the only Clang change (other than tests) will be changing the AS in this array.

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


More information about the cfe-commits mailing list