[llvm] [VPlan] Move call widening decision to VPlan. (NFCI) (PR #195518)
Ramkumar Ramachandra via llvm-commits
llvm-commits at lists.llvm.org
Wed May 6 03:49:59 PDT 2026
================
@@ -2012,7 +2016,7 @@ static InstructionCost getCostForIntrinsics(Intrinsic::ID ID,
InstructionCost VPWidenIntrinsicRecipe::computeCost(ElementCount VF,
VPCostContext &Ctx) const {
SmallVector<const VPValue *> ArgOps(operands());
- return getCostForIntrinsics(VectorIntrinsicID, ArgOps, *this, VF, Ctx);
+ return computeIntrinsicCost(VectorIntrinsicID, ArgOps, *this, VF, Ctx);
----------------
artagnon wrote:
I think with your recent'ish changes to ArrayRef,
```cpp
computeIntrinsicCost(VectorIntrinsicID, operands(), *this, VF, Ctx);
```
should be possible?
https://github.com/llvm/llvm-project/pull/195518
More information about the llvm-commits
mailing list