[polly] [Polly] Distribute the innermost point loop of tile over its statements (PR #225844)
Timur Baidusenov via llvm-commits
llvm-commits at lists.llvm.org
Mon Sep 28 05:22:05 PDT 2026
================
@@ -548,6 +576,161 @@ ScheduleTreeOptimizer::applyTileBandOpt(isl::schedule_node Node) {
return Node;
}
+isl::schedule_node
+ScheduleTreeOptimizer::distributeInnermostLoop(isl::schedule_node Node,
+ const Dependences *D) {
+ // This runs within a quota of isl operations. Every isl result that is used
+ // in a condition, iterated over or dereferenced is checked for an error
+ // first; in that case the band is left as it is.
+ if (Node.is_null() || !isSimpleInnermostBand(Node))
+ return Node;
+
+ isl::union_set Domain = Node.get_domain();
+ if (Domain.is_null())
+ return Node;
----------------
bai-tim wrote:
Done
https://github.com/llvm/llvm-project/pull/225844
More information about the llvm-commits
mailing list