Skip to content

Commit 5b5ef25

Browse files
committed
[RISCV] Fix typo: vmv.x.i -> vmv.v.i
1 parent 6f3d1d3 commit 5b5ef25

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

llvm/lib/Target/RISCV/RISCVTargetTransformInfo.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1663,7 +1663,7 @@ InstructionCost RISCVTTIImpl::getStoreImmCost(Type *Ty,
16631663
return 0;
16641664

16651665
if (OpInfo.isUniform())
1666-
// vmv.x.i, vmv.v.x, or vfmv.v.f
1666+
// vmv.v.i, vmv.v.x, or vfmv.v.f
16671667
// We ignore the cost of the scalar constant materialization to be consistent
16681668
// with how we treat scalar constants themselves just above.
16691669
return 1;

0 commit comments

Comments
 (0)