@@ -1982,9 +1982,6 @@ bool DAGTypeLegalizer::PromoteIntegerOperand(SDNode *N, unsigned OpNo) {
1982
1982
break ;
1983
1983
case ISD::MSTORE: Res = PromoteIntOp_MSTORE (cast<MaskedStoreSDNode>(N),
1984
1984
OpNo); break ;
1985
- case ISD::VP_LOAD:
1986
- Res = PromoteIntOp_VP_LOAD (cast<VPLoadSDNode>(N), OpNo);
1987
- break ;
1988
1985
case ISD::MLOAD: Res = PromoteIntOp_MLOAD (cast<MaskedLoadSDNode>(N),
1989
1986
OpNo); break ;
1990
1987
case ISD::MGATHER: Res = PromoteIntOp_MGATHER (cast<MaskedGatherSDNode>(N),
@@ -2430,24 +2427,6 @@ SDValue DAGTypeLegalizer::PromoteIntOp_VP_STORE(VPStoreSDNode *N,
2430
2427
N->isCompressingStore ());
2431
2428
}
2432
2429
2433
- SDValue DAGTypeLegalizer::PromoteIntOp_VP_LOAD (VPLoadSDNode *N, unsigned OpNo) {
2434
- assert (OpNo >= 3 && " Only know how to promote the mask or length!" );
2435
- EVT DataVT = N->getValueType (0 );
2436
- SDValue Operand = N->getOperand (OpNo);
2437
- SDValue PromotedOperand = OpNo == 3 ? PromoteTargetBoolean (Operand, DataVT)
2438
- : ZExtPromotedInteger (Operand);
2439
- SmallVector<SDValue, 5 > NewOps (N->op_begin (), N->op_end ());
2440
- NewOps[OpNo] = PromotedOperand;
2441
- SDNode *Res = DAG.UpdateNodeOperands (N, NewOps);
2442
- if (Res == N)
2443
- return SDValue (Res, 0 );
2444
-
2445
- // Update triggered CSE, do our own replacement since caller can't.
2446
- ReplaceValueWith (SDValue (N, 0 ), SDValue (Res, 0 ));
2447
- ReplaceValueWith (SDValue (N, 1 ), SDValue (Res, 1 ));
2448
- return SDValue ();
2449
- }
2450
-
2451
2430
SDValue DAGTypeLegalizer::PromoteIntOp_MSTORE (MaskedStoreSDNode *N,
2452
2431
unsigned OpNo) {
2453
2432
SDValue DataOp = N->getValue ();
0 commit comments