[llvm] [VPlan] First step towards VPlan cost modeling. (PR #92555)
via llvm-commits
llvm-commits at lists.llvm.org
Tue Jun 11 14:39:07 PDT 2024
================
@@ -920,6 +979,10 @@ void VPlan::execute(VPTransformState *State) {
"DT not preserved correctly");
}
+InstructionCost VPlan::cost(ElementCount VF, VPCostContext &Ctx) {
----------------
ayalz wrote:
May be worth a note that only the loop region is measured, preheader and post exit recipes are neglected.
https://github.com/llvm/llvm-project/pull/92555
More information about the llvm-commits
mailing list