aboutsummaryrefslogtreecommitdiff
path: root/llvm/lib/Analysis/ModuleSummaryAnalysis.cpp
diff options
context:
space:
mode:
authorFlorian Hahn <flo@fhahn.com>2019-08-15 10:12:26 +0000
committerFlorian Hahn <flo@fhahn.com>2019-08-15 10:12:26 +0000
commitde1d6c822079b3e7565bb3e48865318bee51761c (patch)
tree4f5ce2245bd1a4d0b2f0d29a3eafbf250168377f /llvm/lib/Analysis/ModuleSummaryAnalysis.cpp
parent2601cdd3aed5d90b574e4a681462667b25577bcd (diff)
downloadllvm-de1d6c822079b3e7565bb3e48865318bee51761c.zip
llvm-de1d6c822079b3e7565bb3e48865318bee51761c.tar.gz
llvm-de1d6c822079b3e7565bb3e48865318bee51761c.tar.bz2
Add ptrmask intrinsic
This patch adds a ptrmask intrinsic which allows masking out bits of a pointer that must be zero when accessing it, because of ABI alignment requirements or a restriction of the meaningful bits of a pointer through the data layout. This avoids doing a ptrtoint/inttoptr round trip in some cases (e.g. tagged pointers) and allows us to not lose information about the underlying object. Reviewers: nlopes, efriedma, hfinkel, sanjoy, jdoerfert, aqjune Reviewed by: sanjoy, jdoerfert Differential Revision: https://reviews.llvm.org/D59065 llvm-svn: 368986
Diffstat (limited to 'llvm/lib/Analysis/ModuleSummaryAnalysis.cpp')
0 files changed, 0 insertions, 0 deletions