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

Jessica Clarke via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Wed Oct 5 07:05:25 PDT 2022


jrtc27 added a comment.

Except then you can't do `unsigned long x = (unsigned long)&y` as intrinsics are not constant expressions. Non-integral pointers are too strict for CHERI as things stand, we want a subset of their behaviour.


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