[llvm] [AMDGPU][Verifier] Check address space of `alloca` instruction (PR #135820)

Matt Arsenault via llvm-commits llvm-commits at lists.llvm.org
Tue Apr 15 10:27:48 PDT 2025


https://github.com/arsenm commented:

I have another implementation of this but I was actually thinking we could relax this restriction, and just lower 0 alloca as alloca + addrspacecast. It would avoid a common bug report and isn't that horrible. We could use a nicer version of the PTX hack, where infer address spaces can assume the addrspace but it wouldn't be a hard requirement 

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


More information about the llvm-commits mailing list