[llvm] [RISCV] Lower PARTIAL_REDUCE_[S/U]MLA via zvqdotq (PR #140950)
Philip Reames via llvm-commits
llvm-commits at lists.llvm.org
Wed May 21 17:18:50 PDT 2025
================
@@ -1571,6 +1571,15 @@ RISCVTargetLowering::RISCVTargetLowering(const TargetMachine &TM,
setIndexedStoreAction(ISD::POST_INC, MVT::i32, Legal);
}
+ // zve32x is broken for partial_reduce_umla, but let's not make it worse.
+ if (Subtarget.hasStdExtZvqdotq() && Subtarget.getRealMinVLen() >= 64) {
----------------
preames wrote:
What's the exact check to use here? Is it !Subtarget.hasVInstructionsI64()?
This is hard to check since it fails either way...
https://github.com/llvm/llvm-project/pull/140950
More information about the llvm-commits
mailing list