[llvm] [RISCV] Handle Zvabd and XRivosVizip EEWs in RISCVVLOptimizer (PR #184117)

Pengcheng Wang via llvm-commits llvm-commits at lists.llvm.org
Mon Mar 2 19:50:34 PST 2026


================
@@ -651,6 +664,9 @@ static std::optional<unsigned> getOperandLog2EEW(const MachineOperand &MO) {
   case RISCV::VFWCVT_F_X_V:
   case RISCV::VFWCVT_F_F_V:
   case RISCV::VFWCVTBF16_F_F_V:
+  // Zvabd
+  case RISCV::VWABDA_VV:
+  case RISCV::VWABDAU_VV:
----------------
wangpc-pp wrote:

This is not tested as well.

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


More information about the llvm-commits mailing list