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

Shilei Tian via llvm-commits llvm-commits at lists.llvm.org
Tue Aug 19 09:55:04 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,
----------------
shiltian wrote:

Technically we can but it will need a refinement of where it is used. We could do that as a follow-up if we want.

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


More information about the llvm-commits mailing list