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

Shikhar Jain via llvm-commits llvm-commits at lists.llvm.org
Wed Jul 30 22:42:37 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);
----------------
ShikharjQUIC wrote:

@Meinersbur Thanks for your feedback. Apologies for the delay. I am working on your suggestion of expanding the scope of IslMaxOperationsGuard and dealing with some assertion errors. Will update here once I have more updates.

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


More information about the llvm-commits mailing list