Skip to content

Commit 167e6a9

Browse files
committed
fixup! address review comment.
1 parent e045e5d commit 167e6a9

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

llvm/lib/Target/RISCV/RISCVISelLowering.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16275,7 +16275,7 @@ static SDValue performVP_REVERSECombine(SDNode *N, SelectionDAG &DAG,
1627516275
SDValue Temp2 = DAG.getNode(ISD::MUL, DL, XLenVT, Temp1,
1627616276
DAG.getConstant(ElemWidthByte, DL, XLenVT));
1627716277
SDValue Base = DAG.getNode(ISD::ADD, DL, XLenVT, VPLoad->getBasePtr(), Temp2);
16278-
SDValue Stride = DAG.getConstant(0 - ElemWidthByte, DL, XLenVT);
16278+
SDValue Stride = DAG.getConstant(-ElemWidthByte, DL, XLenVT);
1627916279

1628016280
MachineFunction &MF = DAG.getMachineFunction();
1628116281
MachinePointerInfo PtrInfo(VPLoad->getAddressSpace());

0 commit comments

Comments
 (0)