[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
Mon Jul 15 18:44:25 PDT 2013


You know what, actually, never mind on this patch. It's not really
necessary for the use case I was thinking it would be useful for and
not that robust since it doesn't see across basic block boundaries.
I'll keep it around in a branch in case I change my mind about this.

On Thu, Jul 11, 2013 at 2:08 PM, Stephen Lin <swlin at post.harvard.edu> wrote:
>> Fixed some more issues...this one is perfect, I swear! :)
>>
>> Stephen
>
> I lied, there was a stupid bug actually (misplaced return statement).
> Also, I started using CHECK-LABEL already (this patch will be applied
> after that with whatever the final name CHECK-LABEL gets, or it will
> be taken off if that doesn't go through...)
>
> Stephen



More information about the llvm-commits mailing list