diff options
author | Sergei Lebedev <185856+superbobry@users.noreply.github.com> | 2025-03-21 04:13:13 +0000 |
---|---|---|
committer | GitHub <noreply@github.com> | 2025-03-21 00:13:13 -0400 |
commit | c8a9a4109ac7756af3f0f5aab8c70e686a2f30b7 (patch) | |
tree | 1bbd23534bbbc71b7e6100440663020a962182dd /llvm/lib/CodeGen/MachinePipeliner.cpp | |
parent | 4d5a963eaf6ad209487a321dee7f0cd2a0f98477 (diff) | |
download | llvm-c8a9a4109ac7756af3f0f5aab8c70e686a2f30b7.zip llvm-c8a9a4109ac7756af3f0f5aab8c70e686a2f30b7.tar.gz llvm-c8a9a4109ac7756af3f0f5aab8c70e686a2f30b7.tar.bz2 |
[MLIR] [python] A few improvements to the Python bindings (#131686)
* `PyRegionList` is now sliceable. The dialect bindings generator seems
to assume it is sliceable already (!), yet accessing e.g. `cases` on
`scf.IndexedSwitchOp` raises a `TypeError` at runtime.
* `PyBlockList` and `PyOperationList` support negative indexing. It is
common for containers to do that in Python, and most container in the
MLIR Python bindings already allow the index to be negative.
Diffstat (limited to 'llvm/lib/CodeGen/MachinePipeliner.cpp')
0 files changed, 0 insertions, 0 deletions