[llvm] [VPlan] Compute scalar cost based on VPlan0 instead of legacy CM. (PR #196845)

Florian Hahn via llvm-commits llvm-commits at lists.llvm.org
Tue Sep 22 07:46:34 PDT 2026


================
@@ -4161,42 +4155,6 @@ InstructionCost LoopVectorizationCostModel::computePredInstDiscount(
   return Discount;
 }
 
-InstructionCost LoopVectorizationCostModel::expectedCost(ElementCount VF) {
----------------
fhahn wrote:

Sounds good, I added it back + option, although I think we should remove it soon

https://github.com/llvm/llvm-project/pull/196845


More information about the llvm-commits mailing list