This includes some minor customization for FuncOp and ModuleOp.
Details
Details
Diff Detail
Diff Detail
- Repository
- rG LLVM Github Monorepo
Event Timeline
| mlir/lib/Bindings/Python/BuiltinOps.td | ||
|---|---|---|
| 2 | Linalg? | |
| mlir/lib/Bindings/Python/mlir/dialects/_builtin.py | ||
|---|---|---|
| 35 | Also, functions without a body are legal | |
| mlir/test/Bindings/Python/dialects/builtin.py | ||
|---|---|---|
| 25 | Maybe also define FuncOp.add_body ? | |
Comment Actions
Address comment, add more helpers/properties on FuncOp, extend the test
| mlir/lib/Bindings/Python/mlir/dialects/_builtin.py | ||
|---|---|---|
| 35 | Good point! PTAL | |
| 38 | Indeed, I had to fix a bug in the class_decorator magic but now it works :) | |
| mlir/test/Bindings/Python/dialects/builtin.py | ||
| 25 | add_entry_block to align with C++ | |
Linalg?