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

Tim Northover Tim.Northover at arm.com
Mon Jan 7 06:50:49 PST 2013


Hi all,

This patch fixes the constant folding of sint_to_fp when applied to fp128
type. Previously the APFloat was created as a PPC128, which is obviously not
appropriate here.

It's part of the change to generic LLVM code that we had to implement while
developing the AArch64 backend. These are the changes that no other target
exercises, so sending them to the list before would have been a little
motive-less, and often untestable.

This one is another reasonably simple change. More controversial ones are
coming soon...

OK to commit?

Cheers.

Tim.

-- IMPORTANT NOTICE: The contents of this email and any attachments are confidential and may also be privileged. If you are not the intended recipient, please notify the sender immediately and do not disclose the contents to any other person, use it for any purpose, or store or copy the information in any medium.  Thank you.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: sint_to_fp-const-fold.diff
Type: text/x-patch
Size: 934 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20130107/97cdf4aa/attachment.bin>


More information about the llvm-commits mailing list