[PATCH] D31565: [APInt] Move isMask and isShiftedMask out of APIntOps and into the APInt class. Implement them without memory allocation for multiword
Noel Grandin via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Sat Apr 1 06:21:51 PDT 2017
grandinj added inline comments.
================
Comment at: include/llvm/ADT/APInt.h:429
+ /// \returns true if the argument APInt value is a sequence of ones starting at
+ /// the least significant bit with the remainder zero.
+ bool isMask(unsigned numBits) const {
----------------
comment looks wrong ? doesn't mention the numBits argument?
https://reviews.llvm.org/D31565
More information about the llvm-commits
mailing list