[llvm] Adding the support for vectorization of loops with load based tripcount (PR #209390)

David Sherwood via llvm-commits llvm-commits at lists.llvm.org
Wed Sep 16 00:29:59 PDT 2026


================
@@ -7865,24 +7865,21 @@ static void connectEpilogueVectorLoop(VPlan &EpiPlan, Loop *L,
       Phi.eraseFromParent();
 }
 
-bool EnableLoadBoundVectorization(Loop *L, PredicatedScalarEvolution &PSE,
-                                  ScalarEvolution *SE, DominatorTree *DT,
-                                  AssumptionCache *AC) {
+static bool enableLoadBoundVectorization(Loop *L,
----------------
david-arm wrote:

Why is this now static?

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


More information about the llvm-commits mailing list