@@ -46646,11 +46646,12 @@ static SDValue combineOr(SDNode *N, SelectionDAG &DAG,
46646
46646
SDValue N0 = N->getOperand(0);
46647
46647
SDValue N1 = N->getOperand(1);
46648
46648
EVT VT = N->getValueType(0);
46649
+ SDLoc dl(N);
46649
46650
46650
46651
// If this is SSE1 only convert to FOR to avoid scalarization.
46651
46652
if (Subtarget.hasSSE1() && !Subtarget.hasSSE2() && VT == MVT::v4i32) {
46652
46653
return DAG.getBitcast(MVT::v4i32,
46653
- DAG.getNode(X86ISD::FOR, SDLoc(N) , MVT::v4f32,
46654
+ DAG.getNode(X86ISD::FOR, dl , MVT::v4f32,
46654
46655
DAG.getBitcast(MVT::v4f32, N0),
46655
46656
DAG.getBitcast(MVT::v4f32, N1)));
46656
46657
}
@@ -46662,7 +46663,6 @@ static SDValue combineOr(SDNode *N, SelectionDAG &DAG,
46662
46663
SmallVector<APInt, 2> SrcPartials;
46663
46664
if (matchScalarReduction(SDValue(N, 0), ISD::OR, SrcOps, &SrcPartials) &&
46664
46665
SrcOps.size() == 1) {
46665
- SDLoc dl(N);
46666
46666
const TargetLowering &TLI = DAG.getTargetLoweringInfo();
46667
46667
unsigned NumElts = SrcOps[0].getValueType().getVectorNumElements();
46668
46668
EVT MaskVT = EVT::getIntegerVT(*DAG.getContext(), NumElts);
@@ -46709,7 +46709,6 @@ static SDValue combineOr(SDNode *N, SelectionDAG &DAG,
46709
46709
if (NumElts >= 16 && N1.getOpcode() == X86ISD::KSHIFTL &&
46710
46710
N1.getConstantOperandAPInt(1) == HalfElts &&
46711
46711
DAG.MaskedValueIsZero(N0, APInt(1, 1), UpperElts)) {
46712
- SDLoc dl(N);
46713
46712
return DAG.getNode(
46714
46713
ISD::CONCAT_VECTORS, dl, VT,
46715
46714
extractSubVector(N0, 0, DAG, dl, HalfElts),
@@ -46718,7 +46717,6 @@ static SDValue combineOr(SDNode *N, SelectionDAG &DAG,
46718
46717
if (NumElts >= 16 && N0.getOpcode() == X86ISD::KSHIFTL &&
46719
46718
N0.getConstantOperandAPInt(1) == HalfElts &&
46720
46719
DAG.MaskedValueIsZero(N1, APInt(1, 1), UpperElts)) {
46721
- SDLoc dl(N);
46722
46720
return DAG.getNode(
46723
46721
ISD::CONCAT_VECTORS, dl, VT,
46724
46722
extractSubVector(N1, 0, DAG, dl, HalfElts),
0 commit comments