diff options
| author | Matthias Gehre <matthias.gehre@amd.com> | 2025-01-28 18:31:58 +0100 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2025-01-28 18:31:58 +0100 |
| commit | 9dd762e8b10586e749b0ddf3542e5dccf8392395 (patch) | |
| tree | 70543a6defc596c008bc6df2393876333232bb09 /lldb/unittests/ScriptInterpreter/Python/PythonDataObjectsTests.cpp | |
| parent | 2f077dfbdf769d2e568ccdcda0e1937af046f81f (diff) | |
[mlir][python] allow DenseIntElementsAttr for index type (#118947)
Model the `IndexType` as `uint64_t` when converting to a python integer.
With the python bindings,
```python
DenseIntElementsAttr(op.attributes["attr"])
```
used to `assert` when `attr` had `index` type like `dense<[1, 2, 3, 4]>
: vector<4xindex>`.
---------
Co-authored-by: Christopher McGirr <christopher.mcgirr@amd.com>
Co-authored-by: Tiago Trevisan Jost <tiago.trevisanjost@amd.com>
Diffstat (limited to 'lldb/unittests/ScriptInterpreter/Python/PythonDataObjectsTests.cpp')
0 files changed, 0 insertions, 0 deletions
