[Mlir-commits] [mlir] [mlir][sparse] implement non-permutation MapRef encoding (PR #69406)

Aart Bik llvmlistbot at llvm.org
Wed Oct 18 10:12:50 PDT 2023


================
@@ -443,6 +444,29 @@ static_assert((isUniqueDLT(DimLevelType::Dense) &&
                !isUniqueDLT(DimLevelType::LooseCompressedNuNo)),
               "isUniqueDLT definition is broken");
 
+/// Bit manipulations for affine encoding.
----------------
aartbik wrote:

Always a good idea. I had it documented in MapRef, but I only use the utils there, not the details. So I moved it here. I also generalized it to 20-bit each, or 60-bit for pure permutations.

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


More information about the Mlir-commits mailing list