[PATCH] D64128: [CodeGen] Generate llvm.ptrmask instead of inttoptr(and(ptrtoint, C)) if possible.
    John McCall via Phabricator via llvm-commits 
    llvm-commits at lists.llvm.org
       
    Tue Jul  9 10:13:14 PDT 2019
    
    
  
rjmccall added a comment.
I wouldn't favor adding something really obscure that was only useful for clang, but I think builtins to set and clear mask bits while promising to preserve object-reference identity would be more generally useful for libraries.  For example, there might be somewhere in libc++ that could take advantage of this.
Repository:
  rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D64128/new/
https://reviews.llvm.org/D64128
    
    
More information about the llvm-commits
mailing list