[PATCH] D31565: [APInt] Move isMask and isShiftedMask out of APIntOps and into the APInt class. Implement them without memory allocation for multiword

Hans Wennborg via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Mon Apr 3 01:08:40 PDT 2017


hans accepted this revision.
hans added a comment.
This revision is now accepted and ready to land.

lgtm with a nit about the comment



================
Comment at: include/llvm/ADT/APInt.h:428
 
+  /// \returns true if the argument APInt value is a sequence of \param numBits
+  /// ones starting at the least significant bit with the remainder zero.
----------------
drop "argument"


https://reviews.llvm.org/D31565





More information about the llvm-commits mailing list