[Mlir-commits] [mlir] [MLIR] Add a BlobAttr interface for attribute to wrap arbitrary content and use it as linkLibs for ModuleToObject (PR #120116)

Fabian Mora llvmlistbot at llvm.org
Mon Dec 16 12:57:12 PST 2024


================
@@ -862,6 +862,7 @@ DenseArrayAttrImpl<T> DenseArrayAttrImpl<T>::get(MLIRContext *context,
   Type elementType = DenseArrayAttrUtil<T>::getElementType(context);
   auto rawArray = ArrayRef<char>(reinterpret_cast<const char *>(content.data()),
                                  content.size() * sizeof(T));
+  llvm::errs() << " sizeof(T) " << sizeof(T) << "\n";
----------------
fabianmcg wrote:

```suggestion
```

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


More information about the Mlir-commits mailing list