Skip to content

Commit 5f08263

Browse files
preamestopperc
andauthored
Update llvm/lib/Target/RISCV/RISCVISelLowering.cpp
Co-authored-by: Craig Topper <[email protected]>
1 parent 3b91650 commit 5f08263

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
@@ -3724,7 +3724,7 @@ static SDValue lowerBuildVectorViaVID(SDValue Op, SelectionDAG &DAG,
37243724
SplatStepVal = Log2_64(std::abs(StepNumerator));
37253725
}
37263726

3727-
// Only emit VIDs with suitably-small steps. We use imm5 is a threshold
3727+
// Only emit VIDs with suitably-small steps. We use imm5 as a threshold
37283728
// since it's the immediate value many RVV instructions accept. There is
37293729
// no vmul.vi instruction so ensure multiply constant can fit in a
37303730
// single addi instruction. For the addend, we allow up to 32 bits..

0 commit comments

Comments
 (0)