[llvm-commits] Fold multiply by 0 and 1 when in UnsafeFPMath mode in SelectionDAG::getNode()

Chandler Carruth chandlerc at google.com
Fri Sep 7 13:53:31 PDT 2012


Test cases please.


On Fri, Sep 7, 2012 at 4:50 PM, Michael Ilseman <milseman at apple.com> wrote:

> Attached is a patch to fold multiply by 0 or 1 when in UnsafeFPMath mode
> in SelectionDAG::getNode(). This is in getNode() for performance reasons,
> and to make sure it isn't foiled by other transforms (e.g. forming FMAs).
>
>
> _______________________________________________
> llvm-commits mailing list
> llvm-commits at cs.uiuc.edu
> http://lists.cs.uiuc.edu/mailman/listinfo/llvm-commits
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20120907/e170a313/attachment.html>


More information about the llvm-commits mailing list