summaryrefslogtreecommitdiffstats
path: root/llvm/lib/CodeGen/SelectionDAG/SelectionDAGDumper.cpp
diff options
context:
space:
mode:
authorMatt Arsenault <Matthew.Arsenault@amd.com>2015-02-20 22:10:33 +0000
committerMatt Arsenault <Matthew.Arsenault@amd.com>2015-02-20 22:10:33 +0000
commit0dc54c4dee349232b466d0e649834dde5d1b972a (patch)
tree7bffdcf9144cd82ba94a1a2436e49008c9230258 /llvm/lib/CodeGen/SelectionDAG/SelectionDAGDumper.cpp
parent2c64aef35fc880d608dc5fc6e3a850d69caedfd6 (diff)
downloadbcm5719-llvm-0dc54c4dee349232b466d0e649834dde5d1b972a.tar.gz
bcm5719-llvm-0dc54c4dee349232b466d0e649834dde5d1b972a.zip
Add generic fmad DAG node.
This allows sharing of FMA forming combines to work with instructions that have the same semantics as a separate multiply and add. This is expand by default, and only formed post legalization so it shouldn't have much impact on targets that do not want it. llvm-svn: 230070
Diffstat (limited to 'llvm/lib/CodeGen/SelectionDAG/SelectionDAGDumper.cpp')
-rw-r--r--llvm/lib/CodeGen/SelectionDAG/SelectionDAGDumper.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/llvm/lib/CodeGen/SelectionDAG/SelectionDAGDumper.cpp b/llvm/lib/CodeGen/SelectionDAG/SelectionDAGDumper.cpp
index e8577d898c2..17eff944c62 100644
--- a/llvm/lib/CodeGen/SelectionDAG/SelectionDAGDumper.cpp
+++ b/llvm/lib/CodeGen/SelectionDAG/SelectionDAGDumper.cpp
@@ -187,6 +187,7 @@ std::string SDNode::getOperationName(const SelectionDAG *G) const {
case ISD::FMUL: return "fmul";
case ISD::FDIV: return "fdiv";
case ISD::FMA: return "fma";
+ case ISD::FMAD: return "fmad";
case ISD::FREM: return "frem";
case ISD::FCOPYSIGN: return "fcopysign";
case ISD::FGETSIGN: return "fgetsign";
OpenPOWER on IntegriCloud