Skip to content

Commit 8d50a38

Browse files
fixup! fix typo
1 parent 5232e6f commit 8d50a38

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

llvm/lib/Target/RISCV/RISCVVLOptimizer.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1064,7 +1064,7 @@ RISCVVLOptimizer::getVLForUser(MachineOperand &UserOp) {
10641064
// register. In this case, we should treat it like a scalar register which
10651065
// does not impact the decision on whether to optimize VL. But if there is
10661066
// another user of MI and it may have VL=0, we need to be sure not to reduce
1067-
// the VL of MI to zero when the VLOp of UserOp is may be non-zero. The most
1067+
// the VL of MI to zero when the VLOp of UserOp may be non-zero. The most
10681068
// we can reduce it to is one.
10691069
if (isVectorOpUsedAsScalarOp(UserOp)) {
10701070
[[maybe_unused]] Register R = UserOp.getReg();

0 commit comments

Comments
 (0)