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

Michael Ilseman milseman at apple.com
Fri Sep 7 13:50:10 PDT 2012


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).

-------------- next part --------------
A non-text attachment was scrubbed...
Name: SDAGfoldFMul.patch
Type: application/octet-stream
Size: 1037 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20120907/e7c6476d/attachment.obj>


More information about the llvm-commits mailing list