[PATCH] Refactor and enhance FMA combine
Olivier Sallenave
ohsallen at us.ibm.com
Tue Mar 3 17:56:31 PST 2015
Hi hfinkel, arsenm,
When FP_EXTEND is known to be free for some target (PPC for instance), it is possible to arrange FP_EXTEND nodes in order to do more FMA combining. In this patch, the code that handles that is moved into the new routines created by Matt Arsenault (namely performFaddFmulCombines and performFsubFmulCombines).
There are also new combining opportunities that are implemented, which take effect when aggressive FMA fusion is enabled and it is possible to arrange FP_EXTEND nodes. At the moment, those are particularly interesting for PPC.
http://reviews.llvm.org/D8050
Files:
lib/CodeGen/SelectionDAG/DAGCombiner.cpp
test/CodeGen/PowerPC/fma-assoc.ll
EMAIL PREFERENCES
http://reviews.llvm.org/settings/panel/emailpreferences/
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D8050.21160.patch
Type: text/x-patch
Size: 29543 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20150304/536f2ed4/attachment.bin>
More information about the llvm-commits
mailing list