[PATCH] D59065: Add ptrmask intrinsic

Hal Finkel via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Tue May 14 12:23:02 PDT 2019


hfinkel added a comment.

> It might be simpler to describe the semantics in terms of GEP: e.g. ptrmask(x) is equivalent to gep x, (ptrtoint(x)&mask)-ptrtoint(x). I think that has the same semantics as the description, but it might be easier to understand for a reader familiar with GEPs.

I'm also happy with this.


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

https://reviews.llvm.org/D59065





More information about the llvm-commits mailing list