[Mlir-commits] [mlir] [mlir][sparse] add ReinterpretMapScopeOption for the pass (PR #70486)

Aart Bik llvmlistbot at llvm.org
Fri Oct 27 14:11:18 PDT 2023


================
@@ -40,6 +40,14 @@ enum class SparseParallelizationStrategy {
   kAnyStorageAnyLoop
 };
 
+/// Defines a scope for reinterpret map pass.
+enum class ReinterpretMapScope {
+  kAll,           // reinterprets all applicable operations
+  kGenericOnly,   // reinterprets only linalg.generic
+  kExceptGeneric, // reinterprets operation other than linalg.generic (e.g.,
----------------
aartbik wrote:

can you try to keep this on one line? I like // xxx comments to stay unbroken (if possible)

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


More information about the Mlir-commits mailing list