Skip to content

Commit 09d1751

Browse files
committed
Update comment
1 parent 0997093 commit 09d1751

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

llvm/lib/Target/RISCV/RISCVISelLowering.cpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7460,8 +7460,8 @@ SDValue RISCVTargetLowering::lowerINSERT_VECTOR_ELT(SDValue Op,
74607460

74617461
MVT OrigContainerVT = ContainerVT;
74627462
SDValue OrigVec = Vec;
7463-
// If we know the index we're going to insert at, we can shrink down Vec so
7464-
// we're performing the vslide1down on a smaller LMUL.
7463+
// If we know the index we're going to insert at, we can shrink Vec so that
7464+
// we're performing the scalar inserts and slideup on a smaller LMUL.
74657465
if (auto *CIdx = dyn_cast<ConstantSDNode>(Idx)) {
74667466
if (auto ShrunkVT = getSmallestVTForIndex(ContainerVT, CIdx->getZExtValue(),
74677467
DL, DAG, Subtarget)) {

0 commit comments

Comments
 (0)