[llvm] [VPlan] Return invalid cost if any skeleton block has invalid costs. (PR #151940)
Florian Hahn via llvm-commits
llvm-commits at lists.llvm.org
Thu Aug 7 01:48:25 PDT 2025
================
@@ -1072,9 +1072,13 @@ InstructionCost VPlan::cost(ElementCount VF, VPCostContext &Ctx) {
// blocks, like the preheader or middle blocks.
InstructionCost Cost = getVectorLoopRegion()->cost(VF, Ctx);
----------------
fhahn wrote:
Yep, added a check to the if and updated the comment, thanks!
https://github.com/llvm/llvm-project/pull/151940
More information about the llvm-commits
mailing list