[LLVMdev] Convert fdiv - X/Y -> X*1/Y

Chandler Carruth chandlerc at google.com
Thu Aug 8 14:44:14 PDT 2013


On Thu, Aug 8, 2013 at 2:35 PM, Reed Kotler <rkotler at mips.com> wrote:

> Seems incorrect but I forget the IEEE fp rules.
>
> What if both x and y are infinity?
>
> in that case x/y = NAN but you transformation will yield 0 as the result.
>

This is being proposed for -ffast-math.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-dev/attachments/20130808/a17d9892/attachment.html>


More information about the llvm-dev mailing list