[llvm] [RISCV] Migrate zvqdotq reduce matching to use partial_reduce infrastructure (PR #142212)
Philip Reames via llvm-commits
llvm-commits at lists.llvm.org
Mon Jun 9 12:33:10 PDT 2025
================
@@ -18455,61 +18430,62 @@ static SDValue foldReduceOperandViaVQDOT(SDValue InVec, const SDLoc &DL,
}
}
- // reduce (zext a) <--> reduce (mul zext a. zext 1)
- // reduce (sext a) <--> reduce (mul sext a. sext 1)
+ // reduce (zext a) <--> partial_reduce_umla 0, a, 1
----------------
preames wrote:
Yep, let me adjust the comment.
https://github.com/llvm/llvm-project/pull/142212
More information about the llvm-commits
mailing list