[llvm] [RISCV] Preserve tail agnostic policy in some vector peepholes (PR #105788)

Pengcheng Wang via llvm-commits llvm-commits at lists.llvm.org
Sun Aug 25 21:10:21 PDT 2024


================
@@ -498,10 +500,12 @@ bool RISCVVectorPeephole::foldVMV_V_V(MachineInstr &MI) {
                                               *Src->getParent()->getParent()));
   }
 
-  // Use a conservative tu,mu policy, RISCVInsertVSETVLI will relax it if
-  // passthru is undef.
----------------
wangpc-pp wrote:

Why is this not stand for cases in the new test?

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


More information about the llvm-commits mailing list