[PATCH] D30525: [APInt] Add setLowBits/setHighBits methods to APInt.
Hans Wennborg via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Thu Mar 2 16:31:13 PST 2017
hans added a comment.
In https://reviews.llvm.org/D30525#691195, @craig.topper wrote:
> I think it at least makes sense to have setLowBits/setHighBits as convenience methods. Particularly for setHighBits the caller shouldn't have to write setBits(BitWidth, BitWidth - hiBitsToSet).
Yes, agreed.
https://reviews.llvm.org/D30525
More information about the llvm-commits
mailing list