We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
visitFADDForFMACombine
1 parent dd3edc8 commit f009e05Copy full SHA for f009e05
llvm/lib/CodeGen/SelectionDAG/DAGCombiner.cpp
@@ -16320,8 +16320,8 @@ SDValue DAGCombiner::visitFADDForFMACombine(SDNode *N) {
16320
if (!HasFMAD && !HasFMA)
16321
return SDValue();
16322
16323
- bool AllowFusionGlobally = (Options.AllowFPOpFusion == FPOpFusion::Fast ||
16324
- Options.UnsafeFPMath || HasFMAD);
+ bool AllowFusionGlobally =
+ Options.AllowFPOpFusion == FPOpFusion::Fast || HasFMAD;
16325
// If the addition is not contractable, do not combine.
16326
if (!AllowFusionGlobally && !N->getFlags().hasAllowContract())
16327
0 commit comments