[PATCH] Change APInt comparison with uint64_t.

Paweł Bylica chfast at gmail.com
Tue Jun 23 08:14:21 PDT 2015


Hi chandlerc,

This patch changes the way APInt is compared with a value of type uint64_t.
Before the uint64_t value was truncated to the size of APInt before comparison.
Now the comparison takes into account full 64-bit precision.

http://reviews.llvm.org/D10655

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

EMAIL PREFERENCES
  http://reviews.llvm.org/settings/panel/emailpreferences/
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D10655.28244.patch
Type: text/x-patch
Size: 5764 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20150623/48266a7d/attachment.bin>


More information about the llvm-commits mailing list