summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorOlivier Sallenave <ohsallen@us.ibm.com>2015-01-07 19:45:17 +0000
committerOlivier Sallenave <ohsallen@us.ibm.com>2015-01-07 19:45:17 +0000
commite64ad7cedd2e7dbd9505795f03c5383cb84a0d69 (patch)
treea004aa6e43eb0bff3e77edf5d2f9d7b6e4498048
parentb994d0c0c508ab22d3140309100c0f53c48c236d (diff)
downloadbcm5719-llvm-e64ad7cedd2e7dbd9505795f03c5383cb84a0d69.tar.gz
bcm5719-llvm-e64ad7cedd2e7dbd9505795f03c5383cb84a0d69.zip
Test commit
llvm-svn: 225368
-rw-r--r--llvm/lib/CodeGen/SelectionDAG/DAGCombiner.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/llvm/lib/CodeGen/SelectionDAG/DAGCombiner.cpp b/llvm/lib/CodeGen/SelectionDAG/DAGCombiner.cpp
index 74769e54f8a..64cc1f5f7cb 100644
--- a/llvm/lib/CodeGen/SelectionDAG/DAGCombiner.cpp
+++ b/llvm/lib/CodeGen/SelectionDAG/DAGCombiner.cpp
@@ -6878,6 +6878,7 @@ SDValue DAGCombiner::visitFADD(SDNode *N) {
}
} // enable-unsafe-fp-math
+
// FADD -> FMA combines:
if ((Options.AllowFPOpFusion == FPOpFusion::Fast || Options.UnsafeFPMath) &&
TLI.isFMAFasterThanFMulAndFAdd(VT) &&
OpenPOWER on IntegriCloud