[Mlir-commits] [mlir] [mlir][pybind] Support loading DenseElementsAttr of bools (PR #82868)

Rob Suderman llvmlistbot at llvm.org
Sat Feb 24 09:58:33 PST 2024


================
@@ -694,6 +694,8 @@ class PyDenseElementsAttribute
         // f16
         assert(view.itemsize == 2 && "mismatched array itemsize");
         bulkLoadElementType = mlirF16TypeGet(context);
+      // } else if (format == "?") {
----------------
rsuderman wrote:

Woops, yes. For this to work we technically need an upstream LLVM change to land. I was uncommenting to test.

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


More information about the Mlir-commits mailing list