Skip to content

Commit 39cef88

Browse files
committed
fixup! Update comment
1 parent 13c6a51 commit 39cef88

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
@@ -16440,7 +16440,7 @@ static SDValue performVP_TRUNCATECombine(SDNode *N, SelectionDAG &DAG,
1644016440
if (Op.getOpcode() != ISD::VP_ZERO_EXTEND || Op.getOperand(1) != Mask ||
1644116441
Op.getOperand(2) != VL)
1644216442
return SDValue();
16443-
// Input must be smaller than our result.
16443+
// Input must be the same size or smaller than our result.
1644416444
if (Op.getOperand(0).getScalarValueSizeInBits() > VT.getScalarSizeInBits())
1644516445
return SDValue();
1644616446
}

0 commit comments

Comments
 (0)