[PATCH] D135158: [DataLayout] Introduce DataLayout::getPointerIntegralSize(AS)

Nikita Popov via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Tue Oct 4 07:43:40 PDT 2022


nikic added a comment.

I don't really understand what the distinction between the index size and the integral size is supposed to be. Can you please give some examples where these two quantities would differ?

I would be extremely vary of adding a third dimension to pointer sizes. The index size is already enough of a burden to deal with, and we've only recently approached something resembling correct use of index sizes.


Repository:
  rG LLVM Github Monorepo

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D135158/new/

https://reviews.llvm.org/D135158



More information about the llvm-commits mailing list