]> granicus.if.org Git - llvm/commitdiff
[DAGCombine] Remove commented-out code from r299096
authorAdam Nemet <anemet@apple.com>
Wed, 5 Apr 2017 17:58:44 +0000 (17:58 +0000)
committerAdam Nemet <anemet@apple.com>
Wed, 5 Apr 2017 17:58:44 +0000 (17:58 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@299571 91177308-0d34-0410-b5e6-96231b3b80d8

lib/CodeGen/SelectionDAG/DAGCombiner.cpp

index c9e8a77f03a5726d3907313443225d54138a5925..bf40c34fc2e82aa95841f75b8a9a56e06993b68b 100644 (file)
@@ -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 = [&] (