Skip to content

Commit c27018b

Browse files
committed
[SelectionDAG] Use getExtLoadVP in PromoteIntRes_VP_LOAD. NFC
1 parent 0af2614 commit c27018b

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

llvm/lib/CodeGen/SelectionDAG/LegalizeIntegerTypes.cpp

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -980,9 +980,9 @@ SDValue DAGTypeLegalizer::PromoteIntRes_VP_LOAD(VPLoadSDNode *N) {
980980
: N->getExtensionType();
981981
SDLoc dl(N);
982982
SDValue Res =
983-
DAG.getLoadVP(N->getAddressingMode(), ExtType, NVT, dl, N->getChain(),
984-
N->getBasePtr(), N->getOffset(), N->getMask(),
985-
N->getVectorLength(), N->getMemoryVT(), N->getMemOperand());
983+
DAG.getExtLoadVP(ExtType, dl, NVT, N->getChain(), N->getBasePtr(),
984+
N->getMask(), N->getVectorLength(), N->getMemoryVT(),
985+
N->getMemOperand(), N->isExpandingLoad());
986986
// Legalize the chain result - switch anything that used the old chain to
987987
// use the new one.
988988
ReplaceValueWith(SDValue(N, 1), Res.getValue(1));

0 commit comments

Comments
 (0)