[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
Thu Jan 2 02:16:23 PST 2020
lebedev.ri added inline comments.
================
Comment at: clang/lib/CodeGen/CGBuiltin.cpp:14318
+ }
+ // Negate the mask to only clear the lower bits.
+ llvm::Value *Result;
----------------
But this isn't what we are doing, negation != inversion.
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