[llvm-branch-commits] [llvm] [LV] Bundle sub reductions into VPExpressionRecipe (PR #147255)
David Sherwood via llvm-branch-commits
llvm-branch-commits at lists.llvm.org
Mon Jul 7 04:22:32 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)
----------------
david-arm wrote:
Why can't we add a cost for this?
https://github.com/llvm/llvm-project/pull/147255
More information about the llvm-branch-commits
mailing list