[PATCH] D71499: Add builtins for aligning and checking alignment of pointers and integers
Roman Lebedev via Phabricator via cfe-commits
cfe-commits at lists.llvm.org
Wed Jan 1 13:26:30 PST 2020
lebedev.ri added inline comments.
================
Comment at: clang/lib/CodeGen/CGBuiltin.cpp:14322
+ if (SrcForMask->getType()->isPointerTy()) {
+ /// TODO: Use ptrmask instead of ptrtoint/inttoptr
+ // Result = Builder.CreateIntrinsic(
----------------
Until we are there, can we still emit sane IR, without `inttoptr`?
https://godbolt.org/z/atBtSx
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D71499/new/
https://reviews.llvm.org/D71499
More information about the cfe-commits
mailing list