[llvm-commits] APInt::sdivrem fix
    Preston Briggs 
    preston.briggs at gmail.com
       
    Mon May 21 16:44:13 PDT 2012
    
    
  
The code for APInt.sdivrem is currently incorrect, mishandling things like
*sdivrem(-9, -1) => (-9, 0)*
*
*
Attached are patches for APInt.h and APIntTest.cpp
Could someone review it and check it in?
Thanks,
Preston
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20120521/57951c39/attachment.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: include.patch
Type: application/octet-stream
Size: 666 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20120521/57951c39/attachment.obj>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: test.patch
Type: application/octet-stream
Size: 838 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20120521/57951c39/attachment-0001.obj>
    
    
More information about the llvm-commits
mailing list