[Mlir-commits] [mlir] [MLIR] [SparseTensor] Implement multiple loop ordering heuristics for sparse tensor dialect (PR #151885)

Aart Bik llvmlistbot at llvm.org
Fri Aug 8 10:50:53 PDT 2025


================
@@ -89,23 +117,27 @@ std::unique_ptr<Pass> createPreSparsificationRewritePass();
 // The Sparsification pass.
 //===----------------------------------------------------------------------===//
 
+using sparse_tensor::LoopOrderingStrategy;
----------------
aartbik wrote:

there are not many instances following, so I have a slight preference just using the namespace below

LoopOrderingStrategy is something that could easily refer to some other module, so having the namespace helps with that mental note

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


More information about the Mlir-commits mailing list