[Mlir-commits] [mlir] [MLIR][SparseTensor] Loop ordering strategy infrastructure (flag) (PR #154656)

Aart Bik llvmlistbot at llvm.org
Tue Aug 26 09:41:43 PDT 2025


================
@@ -100,7 +100,15 @@ AffineMap IterationGraphSorter::topoSort() {
     // We always prefer a parallel loop over a reduction loop because putting
     // a reduction loop early might make the loop sequence inadmissible.
     auto &it = !parIt.empty() ? parIt : redIt;
-    auto src = it.back();
+    
+    // Select loop based on strategy
----------------
aartbik wrote:

period at end

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


More information about the Mlir-commits mailing list