[llvm-branch-commits] [clang] [llvm] [mlir] [RFC][AMDGPU] Add BARRIER address space (PR #195613)

Matt Arsenault via llvm-branch-commits llvm-branch-commits at lists.llvm.org
Thu May 7 02:13:14 PDT 2026


================
@@ -555,8 +555,21 @@ AMDGPUTargetCodeGenInfo::getSRetAddrSpace(const CXXRecordDecl *RD) const {
 
 LangAS AMDGPUTargetCodeGenInfo::adjustGlobalVarAddressSpace(
     CodeGenModule &CGM, const VarDecl *D, std::optional<LangAS> AS) const {
-  if (AS)
+  if (AS) {
----------------
arsenm wrote:

Missing tests? I would expect to see a dedicated barrier type test and not just builtin test updates 

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


More information about the llvm-branch-commits mailing list