[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
Tue Jul 9 15:17:07 PDT 2013


>
> I think that this case would work because you would end up looking at the operands of the build_vector node. Doing this in full generality would require some kind of work queue (although we could handle the simple 'splat' case without that).
>
>>
>> In any case, I think that should be a separate patch.
>
> Agreed.

OK, I'll look into it later. Thanks!

Stephen



More information about the llvm-commits mailing list