[llvm] [LV][NFC] Print more debug to account for mismatch in final costs (PR #227757)

David Sherwood via llvm-commits llvm-commits at lists.llvm.org
Thu Oct 1 01:03:22 PDT 2026


================
@@ -5504,7 +5504,7 @@ bool VPCostContext::executesAtMostOnce(const VPlan &Plan, ElementCount VF) {
 InstructionCost
 LoopVectorizationPlanner::precomputeCosts(VPlan &Plan, ElementCount VF,
                                           VPCostContext &CostCtx) const {
-  InstructionCost Cost;
+  InstructionCost Cost = 0;
----------------
david-arm wrote:

Yeah, I removed it yesterday afternoon, thanks!

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


More information about the llvm-commits mailing list