[llvm-branch-commits] [llvm] [AMDGPU][NFC] Extract SIAtomicAddrSpace and fence MMRA parsing from SIMemoryLegalizer (PR #231854)
Fabian Ritter via llvm-branch-commits
llvm-branch-commits at lists.llvm.org
Wed Oct 14 05:11:50 PDT 2026
================
@@ -478,4 +480,67 @@ bool isClobberedInFunction(const LoadInst *Load, MemorySSA *MSSA,
return false;
}
+SIAtomicAddrSpace toSIAtomicAddrSpace(unsigned AS) {
----------------
ritter-x2a wrote:
Do you mean like the `LLVMToDWARFAddrSpaceMapping` array in [AMDGPUAddrSpace.h](https://github.com/llvm/llvm-project/blob/a4c93844daf0278020e636d6c7854fb0c9d0479f/llvm/include/llvm/Support/AMDGPUAddrSpace.h#L163-L170), that maps AMDGPUAS to DWARFAS?
https://github.com/llvm/llvm-project/pull/231854
More information about the llvm-branch-commits
mailing list