[llvm] TargetMachine: Remove pointer-size query methods (PR #226404)

Jiaxun Yang via llvm-commits llvm-commits at lists.llvm.org
Fri Sep 25 03:34:35 PDT 2026


FlyGoat wrote:

> Completely unreasonably, Mips's ABI name can change the pointer size which
> we probably should just not support. Many other triple checks will never be
> correct. This avoids potential mismatches in these contexts, but I still expect
> this to be widely broken.

I believe this is also the case for `rv64ilp32` which may come to llvm at somepoint :-)

In general, IMHO pointersize/DataLayout should be a property of ABI.

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


More information about the llvm-commits mailing list