[llvm] [VPlan] Sink retrieving legacy costs to more specific computeCost impls. (PR #109708)
via llvm-commits
llvm-commits at lists.llvm.org
Tue Oct 8 14:32:35 PDT 2024
================
@@ -864,6 +861,11 @@ void VPIRInstruction::execute(VPTransformState &State) {
State.Builder.SetInsertPoint(I.getParent(), std::next(I.getIterator()));
}
+InstructionCost VPIRInstruction::computeCost(ElementCount VF,
+ VPCostContext &Ctx) const {
----------------
ayalz wrote:
Some comment explaining that this wraps an existing IR instruction on the border of VPlan's scope, hence does not contribute to VPlan's cost modeling.
https://github.com/llvm/llvm-project/pull/109708
More information about the llvm-commits
mailing list