Skip to content

Commit be7a665

Browse files
wangpc-ppgithub-actions[bot]
authored andcommitted
Automerge: [RISCV] Fix typo: vmv.x.i -> vmv.v.i
2 parents 25e42a8 + 5b5ef25 commit be7a665

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)