[PATCH] D27749: [APFloat] Fix rotl/rotr when the shift amount is greater than the total bit width.

Joey Gouly via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Fri Jan 6 04:57:18 PST 2017


joey removed rL LLVM as the repository for this revision.
joey updated this revision to Diff 83358.
joey added a comment.

Added a test case using the 'Big' number in the unit test.
Added a test case for a 7-bit number.
Added cases where the previous code would assert due to RHS being 0.


https://reviews.llvm.org/D27749

Files:
  lib/Support/APInt.cpp
  unittests/ADT/APIntTest.cpp

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D27749.83358.patch
Type: text/x-patch
Size: 4045 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20170106/b0322a00/attachment.bin>


More information about the llvm-commits mailing list