[Mlir-commits] [mlir] [llvm] [mlir][sparse] Change LevelType enum to 64 bit (PR #80501)

Yinying Li llvmlistbot at llvm.org
Fri Feb 2 17:49:56 PST 2024


================
@@ -52,16 +54,15 @@ mlirAttributeIsASparseTensorEncodingAttr(MlirAttribute attr);
 
 /// Creates a `sparse_tensor.encoding` attribute with the given parameters.
 MLIR_CAPI_EXPORTED MlirAttribute mlirSparseTensorEncodingAttrGet(
-    MlirContext ctx, intptr_t lvlRank,
-    enum MlirSparseTensorLevelType const *lvlTypes, MlirAffineMap dimToLvl,
-    MlirAffineMap lvlTodim, int posWidth, int crdWidth);
+    MlirContext ctx, intptr_t lvlRank, MlirBaseLevelType const *lvlTypes,
----------------
yinying-lisa-li wrote:

you mean the typedef after I switch the name right?

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


More information about the Mlir-commits mailing list