[llvm-commits] [llvm] r171866 - in /llvm/trunk: lib/CodeGen/AsmPrinter/AsmPrinter.cpp test/CodeGen/ARM/fp128.ll test/CodeGen/PowerPC/fp128.ll

Tim Northover Tim.Northover at arm.com
Tue Jan 8 09:21:57 PST 2013


On Tuesday 08 Jan 2013 17:11:08 Duncan Sands wrote:
> After all, something like the following would always work for all types:
>    - print a comment based on the type name (use a type name helper to
> avoid a switch on the type), print the value using APFloat::toString;
>    - get the value as an array of uint64_t using APInt::getRawData
>    - blast it out as a bunch of bytes, ints or whatever (here you have to
> be careful about endianness)

The problem case appears to be PPC128 again: it looks like it takes the 
opposite endian opinion to the IEEE large values.

Should still be an overall simplification though. I'll look into it tomorrow.

Cheers.

Tim.





More information about the llvm-commits mailing list