[clang] [llvm] [llvm][opt][Transforms][SPIR-V] Enable `InferAddressSpaces` for SPIR-V (PR #110897)

Matt Arsenault via llvm-commits llvm-commits at lists.llvm.org
Sat Feb 7 09:17:25 PST 2026


arsenm wrote:

> > Should restrict this to just adding the basic pass, without the fancy assumed address space or assume handling. Leave those for later.
> 
> Any particular reason for this, asides from the concern around **constant** / UniformConstant? I'll re-iterate that for AMDGCN flavoured SPIR-V it should do exactly what we do in AMDGPU, so punting in general seems counter-intuitive.

Patch splitting and test coverage concern that goes beyond what's in the title 

InferAddressSpaces should be enabled for SPIRV 

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


More information about the llvm-commits mailing list