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

Petr Kurapov via llvm-commits llvm-commits at lists.llvm.org
Mon Aug 3 07:45:35 PDT 2026


kurapov-peter wrote:

> I don't think we should be trying to give naming significance to address spaces. This is ultimately a 24-bit value, and I don't see the point of returning a string name (especially as part of a TTI interface)

I guess, I only added it thinking about readers/printers. Those cannot reach this functionality though anyway. I would be nice to have a single source of truth for those too though.

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


More information about the llvm-commits mailing list