[llvm-commits] [patch] fp128 sint_to_fp folding fix

Tim Northover Tim.Northover at arm.com
Mon Jan 7 09:35:04 PST 2013


On Monday 07 Jan 2013 17:25:33 Duncan Sands wrote:
> I don't understand the question: there is no choice, there is no need for a
> default.  

Not here, but this is about the APFloat::APFloat constructor, which 
(presently) assumes PPC style unless told otherwise:

APFloat var(3); // Creates PPC.
APFloat var(3, true); // Creates IEEE.

Presumably, PPC, being the only target around using 128-bit float for a while, 
misappropriated this.

It sounds like you're in favour of removing the default all together, which I 
think I prefer to just toggling it too.

Tim.





More information about the llvm-commits mailing list