[llvm] [TTI] Add getPointerInfos/getPointerInfo query for target address spaces (PR #213311)

Luke Lau via llvm-commits llvm-commits at lists.llvm.org
Thu Aug 6 07:52:40 PDT 2026


lukel97 wrote:

> Yup, I'd like to build the pipeline for (M)IR2Vec on amdgpu.

Can AMDGPU be handled in this PR so we have a use of it in-tree?

As an aside I don't know if TTI is the right place for this. It sounds like the type of thing DataLayout should return. And DataLayout already has the `PointerSpecs` field which contains information similar to what you're describing, including a symbolic name. Is that something that you can reuse?

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


More information about the llvm-commits mailing list