[llvm] [AMDGPU] Fix DynLDS causing crash when LowerLDS is run at fullLTO pipeline (PR #96038)

Pierre van Houtryve via llvm-commits llvm-commits at lists.llvm.org
Wed Jun 19 01:12:20 PDT 2024


================
@@ -39,9 +39,10 @@
 ; CHECK:   Lower uses of LDS variables from non-kernel functions
 
 @lds = internal unnamed_addr addrspace(3) global i32 poison, align 4
-
+ at dynlds = external addrspace(3) global [0 x i32]
----------------
Pierre-vh wrote:

Needs another test where the variable is seen first, see previous comment

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


More information about the llvm-commits mailing list