forked from OSchip/llvm-project
[DAGCombine] Remove commented-out code from r299096
llvm-svn: 299571
This commit is contained in:
parent
50c82c4395
commit
99e347fc35
llvm/lib/CodeGen/SelectionDAG
|
@ -8819,7 +8819,7 @@ SDValue DAGCombiner::visitFADDForFMACombine(SDNode *N) {
|
||||||
N0));
|
N0));
|
||||||
}
|
}
|
||||||
|
|
||||||
if (/*AllowFusion &&*/ LookThroughFPExt) {
|
if (LookThroughFPExt) {
|
||||||
// fold (fadd (fma x, y, (fpext (fmul u, v))), z)
|
// fold (fadd (fma x, y, (fpext (fmul u, v))), z)
|
||||||
// -> (fma x, y, (fma (fpext u), (fpext v), z))
|
// -> (fma x, y, (fma (fpext u), (fpext v), z))
|
||||||
auto FoldFAddFMAFPExtFMul = [&] (
|
auto FoldFAddFMAFPExtFMul = [&] (
|
||||||
|
|
Loading…
Reference in New Issue