[llvm] [DataLayout] Introduce DataLayout::getPointerAddressSize(AS) (PR #137412)
Alexander Richardson via llvm-commits
llvm-commits at lists.llvm.org
Tue Apr 29 14:59:12 PDT 2025
arichardson wrote:
> What's the difference between `addr` and `size`? (And what is `size` anyway?)
Some pointer types can be larger than the underlying address space (e.g. CHERI capabilities where the size of the pointer is 2*addr) since there is additional metadata. For most "normal" architectures both of these will be the same.
https://github.com/llvm/llvm-project/pull/137412
More information about the llvm-commits
mailing list