[PATCH] Allow FMAs in safe math mode in some cases when one operand of the fmul is either exactly 0.0 or exactly 1.0.

Stephen Lin swlin at post.harvard.edu
Wed Jul 10 13:43:03 PDT 2013


On Wed, Jul 10, 2013 at 10:34 AM, Stephen Lin <swlin at post.harvard.edu> wrote:
>> Since there's a lot of new code paths through this function, I will
>> add more test coverage to make sure we don't have any false positives
>> and to help prevent regression in the future; in the meantime please
>> (Hal or anyone else) review the new source changes, if you get a
>> chance.
>>
>> Thanks,
>> Stephen
>
> I updated the patch; if anyone gets a chance, please review.
>
> Stephen

Fixed some more issues...this one is perfect, I swear! :)

Stephen
-------------- next part --------------
A non-text attachment was scrubbed...
Name: fix-through-zero-or-one-v4.patch
Type: application/octet-stream
Size: 20061 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20130710/c89d2d03/attachment.obj>


More information about the llvm-commits mailing list