[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:26 PDT 2025


================
@@ -1072,9 +1072,13 @@ InstructionCost VPlan::cost(ElementCount VF, VPCostContext &Ctx) {
   // blocks, like the preheader or middle blocks.
----------------
fhahn wrote:

Updated to clarify that other blocks are checked for recipes with invalid costs, thanks.

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


More information about the llvm-commits mailing list