[PATCH] D59065: Add ptrmask intrinsic

Florian Hahn via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Fri May 10 06:33:07 PDT 2019


fhahn marked an inline comment as done.
fhahn added inline comments.


================
Comment at: llvm/docs/LangRef.rst:16397
+must be zero when accessing it, because of ABI alignment requirements or
+a restriction of the meaningful bits through the data layout. This can be used
+to strip data from tagged pointers without using ptrtoint/inttoptr and allows
----------------
hfinkel wrote:
> "a restriction of the meaningful bits through the data layout" - I'm not sure what this is supposed to mean. I guess that you're referring to higher-order bits which are not actually used to form valid addresses (e.g., if a system has 64-bit pointers but only uses 48 bits in practice).
Yep that was what I tried to say. I've dropped that bit about the relevant bits, as it does not seem to add much information.


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

https://reviews.llvm.org/D59065





More information about the llvm-commits mailing list