Skip to content

Commit f699a7b

Browse files
author
git apple-llvm automerger
committed
Merge commit '0a42db682aa0' from llvm.org/main into next
2 parents 5104519 + 0a42db6 commit f699a7b

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

llvm/lib/CodeGen/SelectionDAG/LegalizeVectorTypes.cpp

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7216,8 +7216,7 @@ SDValue DAGTypeLegalizer::WidenVecOp_STORE(SDNode *N) {
72167216
SDValue EVL = DAG.getElementCount(DL, TLI.getVPExplicitVectorLengthTy(),
72177217
StVT.getVectorElementCount());
72187218
return DAG.getStoreVP(ST->getChain(), DL, StVal, ST->getBasePtr(),
7219-
DAG.getUNDEF(ST->getBasePtr().getValueType()), Mask,
7220-
EVL, StVT, ST->getMemOperand(),
7219+
ST->getOffset(), Mask, EVL, StVT, ST->getMemOperand(),
72217220
ST->getAddressingMode());
72227221
}
72237222

0 commit comments

Comments
 (0)