[llvm] [AMDGPU] Fix LDS address correction in promoteConstantOffsetToImm for async stores (PR #180220)

Alexander Weinrauch via llvm-commits llvm-commits at lists.llvm.org
Fri Feb 6 09:26:56 PST 2026


================
@@ -109,3 +109,36 @@ body:             |
     GLOBAL_LOAD_ASYNC_TO_LDS_B128 %6, killed %15, 0, 0, implicit-def dead $asynccnt, implicit $exec, implicit $asynccnt :: (load store (s128), align 1, addrspace 3)
     S_ENDPGM 0
 ...
+
+---
----------------
AlexAUT wrote:

Thank you for the review, can you have another look? Both tests are essentially the same as the existing ones for async_load, the intent is just to verify that we adjust the correct operands and we no longer crash.

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


More information about the llvm-commits mailing list