[llvm] [RISCV] Move vmv.v.v peephole from SelectionDAG to RISCVVectorPeephole (PR #100367)
Luke Lau via llvm-commits
llvm-commits at lists.llvm.org
Thu Aug 15 00:14:52 PDT 2024
================
@@ -65,6 +65,7 @@ class RISCVVectorPeephole : public MachineFunctionPass {
bool convertToWholeRegister(MachineInstr &MI) const;
bool convertToUnmasked(MachineInstr &MI) const;
bool convertVMergeToVMv(MachineInstr &MI) const;
+ bool foldVMV_V_V(MachineInstr &MI);
----------------
lukel97 wrote:
Yeah, I noticed this as well. I think the camel case in convertVMergeToVMv came from trying to please clang-tidy. But VMV_V_V is more accurate to the actual instruction name. Do we have a preference?
https://github.com/llvm/llvm-project/pull/100367
More information about the llvm-commits
mailing list