[llvm] 5b5ef25 - [RISCV] Fix typo: vmv.x.i -> vmv.v.i
Wang Pengcheng via llvm-commits
llvm-commits at lists.llvm.org
Tue Dec 31 00:18:40 PST 2024
Author: Wang Pengcheng
Date: 2024-12-31T16:18:13+08:00
New Revision: 5b5ef254a341768283035718262a9cad6cc743e8
URL: https://github.com/llvm/llvm-project/commit/5b5ef254a341768283035718262a9cad6cc743e8
DIFF: https://github.com/llvm/llvm-project/commit/5b5ef254a341768283035718262a9cad6cc743e8.diff
LOG: [RISCV] Fix typo: vmv.x.i -> vmv.v.i
Added:
Modified:
llvm/lib/Target/RISCV/RISCVTargetTransformInfo.cpp
Removed:
################################################################################
diff --git a/llvm/lib/Target/RISCV/RISCVTargetTransformInfo.cpp b/llvm/lib/Target/RISCV/RISCVTargetTransformInfo.cpp
index 2f9beb0b3983c5..0abb270edcabc8 100644
--- a/llvm/lib/Target/RISCV/RISCVTargetTransformInfo.cpp
+++ b/llvm/lib/Target/RISCV/RISCVTargetTransformInfo.cpp
@@ -1663,7 +1663,7 @@ InstructionCost RISCVTTIImpl::getStoreImmCost(Type *Ty,
return 0;
if (OpInfo.isUniform())
- // vmv.x.i, vmv.v.x, or vfmv.v.f
+ // vmv.v.i, vmv.v.x, or vfmv.v.f
// We ignore the cost of the scalar constant materialization to be consistent
// with how we treat scalar constants themselves just above.
return 1;
More information about the llvm-commits
mailing list