[PATCH] Add getSwappedBytes implementations for float / double

Justin Bogner mail at justinbogner.com
Tue Jan 27 14:50:55 PST 2015


Matt Arsenault <Matthew.Arsenault at amd.com> writes:
> On 01/27/2015 01:57 PM, Justin Bogner wrote:
>> Is anyone using endian::Writer with doubles or floats? That is, is this
>> a bug fix or is it a new feature?
>>
>> If it's a bug fix it'd be nice if it came with a test. If a new feature,
>> it's probably better to commit it along with its first use.
>
> It's a new feature. I'm using it in a currently out of tree target, so
> it will be a while before I'll get to committing that first use.

Seemingly dead code has a tendency to get deleted. Because of that, I'd
be happier with this if it came with a unit test.



More information about the llvm-commits mailing list