[llvm-commits] [PATCH] APInt::byteSwap always returns 0 for BitWidth > 64
richard at metafoo.co.uk
Wed Nov 23 13:37:11 PST 2011
On Wed, November 23, 2011 20:01, Nick Lewycky wrote:
> On 11/22/2011 07:21 PM, Richard Smith wrote:
>> The current implementation of APInt::byteSwap is broken for bit widths
>> greater than 64. The attached patch fixes this. I've also switched
>> algorithms for this case, since the previous one assumed a little-endian
>> OK to commit?
> Looks good, please commit!
Thanks, in r145111.
More information about the llvm-commits