Displaying 8 results from an estimated 8 matches for "hasallowreassociation".
2018 Aug 20
3
Condition code in DAGCombiner::visitFADDForFMACombine?
...m curious why the condition to fuse is this:
// Floating-point multiply-add with intermediate rounding.
bool HasFMAD = (LegalOperations && TLI.isOperationLegal(ISD::FMAD, VT));
static bool isContractable(SDNode *N) {
SDNodeFlags F = N->getFlags();
return F.hasAllowContract() || F.hasAllowReassociation();
}
bool CanFuse = Options.UnsafeFPMath || isContractable(N);
bool AllowFusionGlobally = (Options.AllowFPOpFusion == FPOpFusion::Fast ||
CanFuse || HasFMAD);
// If the addition is not contractable, do not combine.
if (!AllowFusionGlobally && !isContractable(N))
return SDValue();
Spec...
2018 Aug 22
2
Condition code in DAGCombiner::visitFADDForFMACombine?
...ting-point multiply-add with intermediate rounding.
> bool HasFMAD = (LegalOperations &&
> TLI.isOperationLegal(ISD::FMAD, VT));
>
> static bool isContractable(SDNode *N) {
> SDNodeFlags F = N->getFlags();
> return F.hasAllowContract() || F.hasAllowReassociation();
> }
>
> bool CanFuse = Options.UnsafeFPMath || isContractable(N);
> bool AllowFusionGlobally = (Options.AllowFPOpFusion ==
> FPOpFusion::Fast || CanFuse || HasFMAD);
> // If the addition is not contractable, do not combine.
> if (!AllowFusionGlobally...
2018 Aug 22
4
Condition code in DAGCombiner::visitFADDForFMACombine?
...> bool HasFMAD = (LegalOperations &&
> > TLI.isOperationLegal(ISD::FMAD, VT));
> >
> > static bool isContractable(SDNode *N) {
> > SDNodeFlags F = N->getFlags();
> > return F.hasAllowContract() || F.hasAllowReassociation();
> > }
> >
> > bool CanFuse = Options.UnsafeFPMath || isContractable(N);
> > bool AllowFusionGlobally = (Options.AllowFPOpFusion ==
> > FPOpFusion::Fast || CanFuse || HasFMAD);
> > // If the addition is not cont...
2018 Aug 22
2
Condition code in DAGCombiner::visitFADDForFMACombine?
...gt; > > TLI.isOperationLegal(ISD::FMAD, VT));
> > >
> > > static bool isContractable(SDNode *N) {
> > > SDNodeFlags F = N->getFlags();
> > > return F.hasAllowContract() ||
> F.hasAllowReassociation();
> > > }
> > >
> > > bool CanFuse = Options.UnsafeFPMath || isContractable(N);
> > > bool AllowFusionGlobally = (Options.AllowFPOpFusion ==
> > > FPOpFusion::Fast || CanFuse || HasFMAD);...
2018 Aug 23
2
Condition code in DAGCombiner::visitFADDForFMACombine?
...ations &&
>>> > TLI.isOperationLegal(ISD::FMAD, VT));
>>> >
>>> > static bool isContractable(SDNode *N) {
>>> > SDNodeFlags F = N->getFlags();
>>> > return F.hasAllowContract() || F.hasAllowReassociation();
>>> > }
>>> >
>>> > bool CanFuse = Options.UnsafeFPMath || isContractable(N);
>>> > bool AllowFusionGlobally = (Options.AllowFPOpFusion ==
>>> > FPOpFusion::Fast || CanFuse || HasFMAD);
>>&...
2018 Aug 23
2
Condition code in DAGCombiner::visitFADDForFMACombine?
...t;>>> > TLI.isOperationLegal(ISD::FMAD, VT));
>>>> >
>>>> > static bool isContractable(SDNode *N) {
>>>> > SDNodeFlags F = N->getFlags();
>>>> > return F.hasAllowContract() || F.hasAllowReassociation();
>>>> > }
>>>> >
>>>> > bool CanFuse = Options.UnsafeFPMath || isContractable(N);
>>>> > bool AllowFusionGlobally = (Options.AllowFPOpFusion ==
>>>> > FPOpFusion::Fast || CanFuse ||...
2018 Aug 23
3
Condition code in DAGCombiner::visitFADDForFMACombine?
...> TLI.isOperationLegal(ISD::FMAD, VT));
>>>>> >
>>>>> > static bool isContractable(SDNode *N) {
>>>>> > SDNodeFlags F = N->getFlags();
>>>>> > return F.hasAllowContract() || F.hasAllowReassociation();
>>>>> > }
>>>>> >
>>>>> > bool CanFuse = Options.UnsafeFPMath || isContractable(N);
>>>>> > bool AllowFusionGlobally = (Options.AllowFPOpFusion ==
>>>>> > FPOpFusion...
2018 Aug 23
2
Condition code in DAGCombiner::visitFADDForFMACombine?
...>>>> > static bool isContractable(SDNode *N) {
>>>> > SDNodeFlags F = N->getFlags();
>>>> > return F.hasAllowContract() ||
>>>> F.hasAllowReassociation();
>>>> > }
>>>> >
>>>> > bool CanFuse = Options.UnsafeFPMath ||
>>>> isContractable(N);
>>>> > bool...