[polly] [polly] Bound ISL operations during pre-vectorization (PR #143876)

Michael Kruse via llvm-commits llvm-commits at lists.llvm.org
Mon Oct 6 09:42:02 PDT 2025


================
@@ -574,7 +580,12 @@ ScheduleTreeOptimizer::optimizeBand(__isl_take isl_schedule_node *NodeArg,
   if (OAI->Prevect) {
     // FIXME: Prevectorization requirements are different from those checked by
     // isTileableBandNode.
-    Node = applyPrevectBandOpt(Node);
+    {
+      IslMaxOperationsGuard MaxOpGuard(Node.ctx().get(), ScheduleComputeOut);
----------------
Meinersbur wrote:

They cannot be nested, put you can create an outer `MaxOpGuard` and pass it through called functions, activate when needed

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


More information about the llvm-commits mailing list