[llvm] [RISCV] Move vmv.v.v peephole from SelectionDAG to RISCVVectorPeephole (PR #100367)

Pengcheng Wang via llvm-commits llvm-commits at lists.llvm.org
Wed Aug 14 23:26:47 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);
----------------
wangpc-pp wrote:

Just a concern about the naming there. It is not consistent.

https://github.com/llvm/llvm-project/pull/100367


More information about the llvm-commits mailing list