Skip to content

Commit 3e90ffa

Browse files
committed
!fixup Change use of i to OutIdx in LowerCall.
1 parent 50c0305 commit 3e90ffa

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
@@ -17331,7 +17331,7 @@ SDValue RISCVTargetLowering::LowerCall(CallLoweringInfo &CLI,
1733117331
// info.
1733217332
SmallVector<std::pair<SDValue, SDValue>> Parts;
1733317333
while (i + 1 != e && Outs[OutIdx + 1].OrigArgIndex == ArgIndex) {
17334-
SDValue PartValue = OutVals[i + 1];
17334+
SDValue PartValue = OutVals[OutIdx + 1];
1733517335
unsigned PartOffset = Outs[OutIdx + 1].PartOffset - ArgPartOffset;
1733617336
SDValue Offset = DAG.getIntPtrConstant(PartOffset, DL);
1733717337
EVT PartVT = PartValue.getValueType();

0 commit comments

Comments
 (0)