[llvm-branch-commits] [llvm] [LV] Bundle sub reductions into VPExpressionRecipe (PR #147255)
Sam Tebbs via llvm-branch-commits
llvm-branch-commits at lists.llvm.org
Tue Jul 8 07:27:44 PDT 2025
================
@@ -3116,7 +3116,10 @@ class BasicTTIImplBase : public TargetTransformInfoImplCRTPBase<T> {
InstructionCost
getMulAccReductionCost(bool IsUnsigned, Type *ResTy, VectorType *Ty,
+ bool Negated,
TTI::TargetCostKind CostKind) const override {
+ if (Negated)
----------------
SamTebbs33 wrote:
Thanks, I've added a cost for the sub.
https://github.com/llvm/llvm-project/pull/147255
More information about the llvm-branch-commits
mailing list