[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:50:00 PDT 2026
================
@@ -3644,6 +3624,40 @@ InstructionCost VPReplicateRecipe::computeCost(ElementCount VF,
return Ctx.getLegacyCost(UI, VF);
}
+InstructionCost VPReplicateRecipe::computeScalarCallCost(
----------------
artagnon wrote:
Hm, not sure if this function is named correctly? Better to name it computeCallCost, that accepts IsSingleScalar? It's nested within VPRecplicateRecipe anyway, so it's clear that it's a replication cost?
https://github.com/llvm/llvm-project/pull/195518
More information about the llvm-commits
mailing list