[llvm] [AArch64][TTI] Allow mixed-extension partial reductions with +dotprod (PR #199762)
Florian Hahn via llvm-commits
llvm-commits at lists.llvm.org
Mon Jun 8 11:50:39 PDT 2026
================
@@ -6100,6 +6102,10 @@ InstructionCost AArch64TTIImpl::getPartialReductionCost(
// i8 -> i32 usdot requires +i8mm
if (IsUSDot && IsSupported(ST->hasMatMulInt8(), ST->hasMatMulInt8()))
return Cost + INegCost;
+ // Without +i8mm, lower SUMLA via two udots plus an eor and a sub on plain
+ // +dotprod targets. Charge an extra factor for the expansion.
+ if (IsUSDot && IsSupported(false, ST->hasDotProd()))
----------------
fhahn wrote:
done thanks
https://github.com/llvm/llvm-project/pull/199762
More information about the llvm-commits
mailing list