[llvm-commits] APInt::sdivrem fix
Nuno Lopes
nunoplopes at sapo.pt
Mon May 21 17:17:00 PDT 2012
The patch looks good to me (modulo the tabs in the APInt.h file).
Please go ahead and commit it.
Nuno
Citando Preston Briggs <preston.briggs at gmail.com>:
> 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
More information about the llvm-commits
mailing list