summaryrefslogtreecommitdiffstats
path: root/llvm/lib/CodeGen
diff options
context:
space:
mode:
authorAdam Nemet <anemet@apple.com>2017-04-05 17:58:44 +0000
committerAdam Nemet <anemet@apple.com>2017-04-05 17:58:44 +0000
commit99e347fc35aca8fa22e8bdcca8ecf1a1148b2e2d (patch)
treeb6b6666e941de75c33149c15535d902861034270 /llvm/lib/CodeGen
parent50c82c439518eb40a1fe875fe23dd581d4764c0d (diff)
downloadbcm5719-llvm-99e347fc35aca8fa22e8bdcca8ecf1a1148b2e2d.tar.gz
bcm5719-llvm-99e347fc35aca8fa22e8bdcca8ecf1a1148b2e2d.zip
[DAGCombine] Remove commented-out code from r299096
llvm-svn: 299571
Diffstat (limited to 'llvm/lib/CodeGen')
-rw-r--r--llvm/lib/CodeGen/SelectionDAG/DAGCombiner.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/llvm/lib/CodeGen/SelectionDAG/DAGCombiner.cpp b/llvm/lib/CodeGen/SelectionDAG/DAGCombiner.cpp
index c9e8a77f03a..bf40c34fc2e 100644
--- a/llvm/lib/CodeGen/SelectionDAG/DAGCombiner.cpp
+++ b/llvm/lib/CodeGen/SelectionDAG/DAGCombiner.cpp
@@ -8819,7 +8819,7 @@ SDValue DAGCombiner::visitFADDForFMACombine(SDNode *N) {
N0));
}
- if (/*AllowFusion &&*/ LookThroughFPExt) {
+ if (LookThroughFPExt) {
// fold (fadd (fma x, y, (fpext (fmul u, v))), z)
// -> (fma x, y, (fma (fpext u), (fpext v), z))
auto FoldFAddFMAFPExtFMul = [&] (
OpenPOWER on IntegriCloud