[Mlir-commits] [mlir] [mlir][sparse] Enable explicit and implicit value in sparse encoding (PR #88975)
Yinying Li
llvmlistbot at llvm.org
Tue Apr 16 14:02:58 PDT 2024
================
@@ -307,6 +326,12 @@ def SparseTensorEncodingAttr : SparseTensor_Attr<"SparseTensorEncoding",
// The required bitwidth for coordinate storage.
"unsigned":$crdWidth,
+ // The required explicit value.
+ "::mlir::Attribute":$explicitVal,
----------------
yinying-lisa-li wrote:
After offline discussion, we decided to use explicitVal (same format as the other values in the same context).
https://github.com/llvm/llvm-project/pull/88975
More information about the Mlir-commits
mailing list