[llvm] [RISCV] Reduce the VL of both operands in VMERGE_VVM (PR #144759)

Min-Yih Hsu via llvm-commits llvm-commits at lists.llvm.org
Wed Jun 18 10:29:37 PDT 2025


================
@@ -112,7 +112,7 @@ bool RISCVVectorPeephole::tryToReduceVL(MachineInstr &MI) const {
   //
   // TODO: We can handle a bunch more instructions here, and probably
   // recurse backwards through operands too.
----------------
mshockwave wrote:

I'm not sure if I need to remove this comment, because at least for this case (VMERGE_VVM) we neither need to process them recursively nor need to do it in a backward fashion.

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


More information about the llvm-commits mailing list