[PATCH] Fix APInt division algorithm

Paweł Bylica chfast at gmail.com
Thu Mar 19 10:22:18 PDT 2015


APInt uses Knuth's D algorithm for long division. In rare cases the implementation applied a transformation that was not needed.

REPOSITORY
  rL LLVM

http://reviews.llvm.org/D8448

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

EMAIL PREFERENCES
  http://reviews.llvm.org/settings/panel/emailpreferences/
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D8448.22269.patch
Type: text/x-patch
Size: 10475 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20150319/ccfee162/attachment.bin>


More information about the llvm-commits mailing list