[llvm] [RISCV][VLOPT] Add support for checkUsers when UserMI is a Single-Width Integer Reduction (PR #120345)

Pengcheng Wang via llvm-commits llvm-commits at lists.llvm.org
Mon Dec 30 19:39:30 PST 2024


================
@@ -840,6 +857,9 @@ static bool isVectorOpUsedAsScalarOp(MachineOperand &MO) {
   case RISCV::VFWREDOSUM_VS:
   case RISCV::VFWREDUSUM_VS:
     return MO.getOperandNo() == 3;
+  case RISCV::VMV_X_S:
----------------
wangpc-pp wrote:

Aha I see, this is a fix. Never mind.

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


More information about the llvm-commits mailing list