[PATCH] D30525: [APInt] Add setLowBits/setHighBits methods to APInt.

Craig Topper via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Thu Mar 2 21:09:34 PST 2017


craig.topper updated this revision to Diff 90428.
craig.topper added a comment.

Make some portions of setBits inline. Use it to implement setLowBits and setHighBits.


https://reviews.llvm.org/D30525

Files:
  include/llvm/ADT/APInt.h
  lib/Support/APInt.cpp
  unittests/ADT/APIntTest.cpp

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D30525.90428.patch
Type: text/x-patch
Size: 8524 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20170303/acfa539b/attachment.bin>


More information about the llvm-commits mailing list