From: Adam Nemet Date: Wed, 5 Apr 2017 17:58:44 +0000 (+0000) Subject: [DAGCombine] Remove commented-out code from r299096 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=0a518c38def1b2118f8f73898934931c876fe48d;p=llvm [DAGCombine] Remove commented-out code from r299096 git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@299571 91177308-0d34-0410-b5e6-96231b3b80d8 --- diff --git a/lib/CodeGen/SelectionDAG/DAGCombiner.cpp b/lib/CodeGen/SelectionDAG/DAGCombiner.cpp index c9e8a77f03a..bf40c34fc2e 100644 --- a/lib/CodeGen/SelectionDAG/DAGCombiner.cpp +++ b/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 = [&] (