[Mlir-commits] [mlir] [mlir][python] Add bindings for mlirDenseElementsAttrGet (PR #91389)

Mehdi Amini llvmlistbot at llvm.org
Tue May 7 21:32:01 PDT 2024


joker-eph wrote:

The build failure seems legit:

```
/var/lib/buildkite-agent/builds/linux-56-59b8f5d88-qrksl-1/llvm-project/github-pull-requests/mlir/lib/Bindings/Python/IRAttributes.cpp:686:34: error: non-constant-expression cannot be narrowed from type 'size_t' (aka 'unsigned long') to 'long' in initializer list [-Wc++11-narrowing]
      SmallVector<int64_t> shape{py::len(attributes)};
                                 ^~~~~~~~~~~~~~~~~~~
```

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


More information about the Mlir-commits mailing list