[PATCH] D30265: [APInt] Add APInt::setBits() method to set all bits in range
Simon Pilgrim via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Thu Feb 23 12:38:19 PST 2017
RKSimon updated this revision to Diff 89546.
RKSimon added a comment.
Updated based on Hans' feedback.
I didn't do the UINT64_MAX >> (64 - whichBit(hiBit - 1)) change to avoid having to handle the shift by 64 case
Repository:
rL LLVM
https://reviews.llvm.org/D30265
Files:
include/llvm/ADT/APInt.h
lib/Support/APInt.cpp
lib/Target/X86/X86ISelLowering.cpp
lib/Target/X86/X86ShuffleDecodeConstantPool.cpp
unittests/ADT/APIntTest.cpp
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D30265.89546.patch
Type: text/x-patch
Size: 8695 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20170223/4955d0cb/attachment.bin>
More information about the llvm-commits
mailing list