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

Alex Voicu via llvm-commits llvm-commits at lists.llvm.org
Wed Oct 9 12:27:37 PDT 2024


AlexVlx 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.

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


More information about the llvm-commits mailing list