Skip to content

Commit 7192ca8

Browse files
committed
fixup! Update comment
1 parent 39cef88 commit 7192ca8

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

llvm/lib/Target/RISCV/RISCVISelLowering.cpp

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16451,7 +16451,8 @@ static SDValue performVP_TRUNCATECombine(SDNode *N, SelectionDAG &DAG,
1645116451
Operands[0].getOperand(0), Mask, VL);
1645216452
SDValue NewOp1 = DAG.getNode(ISD::VP_ZERO_EXTEND, SDLoc(Operands[1]), VT,
1645316453
Operands[1].getOperand(0), Mask, VL);
16454-
// Build a VAADDU with RNU rounding mode.
16454+
// Build a AVGCEILU_VL which will be selected as a VAADDU with RNU rounding
16455+
// mode.
1645516456
SDLoc DL(N);
1645616457
return DAG.getNode(RISCVISD::AVGCEILU_VL, DL, VT,
1645716458
{NewOp0, NewOp1, DAG.getUNDEF(VT), Mask, VL});

0 commit comments

Comments
 (0)