[Mlir-commits] [mlir] [mlir][sparse] Expand LevelType to 64 bits and implement parsing n out of m (PR #79935)

Aart Bik llvmlistbot at llvm.org
Thu Feb 1 16:16:41 PST 2024


================
@@ -229,54 +263,51 @@ constexpr const char *toMLIRString(LevelType lt) {
     return "loose_compressed(nonordered)";
   case LevelType::LooseCompressedNuNo:
     return "loose_compressed(nonunique, nonordered)";
-  case LevelType::TwoOutOfFour:
-    return "block2_4";
+  default:
----------------
aartbik wrote:

can't this be a simple case on NOutOfM level type?
the other bits should not impact the enum, right?
perhaps by ending out the relevant part

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


More information about the Mlir-commits mailing list