llvm / llvm/llvm-project

[MLIR][Python][Transform] List of ops whose `snake_case` python wrapper is out of sync with the derived `CamelCaseOp` class

Open
#166,765 3 comments 0 reactions 1 assignee Claimed by @rolfmorel View on GitHub
mlir:python
Dominant language
LLVM
Stars
40.5k
Forks
18.7k
PR merge metrics
PR metrics pending

Description

A number of transform ops have a derived class that improves the interface and initialization of the ops. For a number of them, the corresponding `snake_case` wrapper still only wraps the original tablegen-derived base class. We should make sure that these base class wrappers are being shadowed in case the base class `CamelCaseOp` definition is being shadowed.

The list:

- [x] All ops who are given a derived class in [`mlir/python/mlir/dialects/transform/__init__.py`](https://github.com/llvm/llvm-project/blob/main/mlir/python/mlir/dialects/transform/__init__.py)
- https://github.com/llvm/llvm-project/pull/166871

- [ ] Derived ops in [`mlir/python/mlir/dialects/transform/structured.py`](https://github.com/llvm/llvm-project/blob/main/mlir/python/mlir/dialects/transform/structured.py)

- [ ] ...

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.