[llvm-branch-commits] [clang] [llvm] [mlir] [RFC][AMDGPU] Add EXECSYNC address space (PR #195613)
Matt Arsenault via llvm-branch-commits
llvm-branch-commits at lists.llvm.org
Mon May 4 05:24:26 PDT 2026
================
@@ -59,6 +60,8 @@ static TargetExtType *getTargetExtType(const GlobalVariable &GV) {
}
TargetExtType *isNamedBarrier(const GlobalVariable &GV) {
+ if (GV.getAddressSpace() != AMDGPUAS::EXECSYNC)
+ return nullptr;
----------------
arsenm wrote:
Test what happens if the type or address space is wrong?
https://github.com/llvm/llvm-project/pull/195613
More information about the llvm-branch-commits
mailing list