[Mlir-commits] [mlir] [mlir][python] allow DenseIntElementsAttr for index type (PR #118947)

Matthias Gehre llvmlistbot at llvm.org
Mon Dec 16 15:12:52 PST 2024


================
@@ -556,6 +556,8 @@ MLIR_CAPI_EXPORTED int64_t
 mlirDenseElementsAttrGetInt64Value(MlirAttribute attr, intptr_t pos);
 MLIR_CAPI_EXPORTED uint64_t
 mlirDenseElementsAttrGetUInt64Value(MlirAttribute attr, intptr_t pos);
+MLIR_CAPI_EXPORTED size_t mlirDenseElementsAttrGetIndexValue(MlirAttribute attr,
----------------
mgehre-amd wrote:

Thanks, I adjusted the code accordingly.

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


More information about the Mlir-commits mailing list