[llvm] [AMDGPU] Add support for store to constant address space (PR #153835)

Matt Arsenault via llvm-commits llvm-commits at lists.llvm.org
Mon Aug 18 23:37:53 PDT 2025


================
@@ -450,7 +450,9 @@ def LoadAddress_constant : AddressSpaceList<[ AddrSpaces.Constant,
 def LoadAddress_global : AddressSpaceList<[ AddrSpaces.Global,
                                             AddrSpaces.Constant,
                                             AddrSpaces.Constant32Bit ]>;
-def StoreAddress_global : AddressSpaceList<[ AddrSpaces.Global ]>;
+def StoreAddress_global : AddressSpaceList<[ AddrSpaces.Global,
----------------
arsenm wrote:

We can just get rid of the distinction between the load and store address spaces and use one list 

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


More information about the llvm-commits mailing list