[llvm] [VPlan] Introduce VPlan-based hasTailFolded helper. (NFC) (PR #208329)

Florian Hahn via llvm-commits llvm-commits at lists.llvm.org
Mon Jul 13 04:22:56 PDT 2026


================
@@ -7126,6 +7125,13 @@ bool LoopVectorizationPlanner::requiresScalarEpilogue(VPlan &Plan,
   return Result;
 }
 
+bool LoopVectorizationPlanner::hasTailFolded(const VPlan &Plan) const {
----------------
fhahn wrote:

It needs to have access to LoopVectorizationCostModel for the assert, which is only visiible in this file.

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


More information about the llvm-commits mailing list