Since op Attributes are automatically downcasted on access, these mappings
aren't necessary anymore. Instead we just always generate the getters/setters
for attributes even if there isn't a PythonAttr mapping.
depends on D154462
Paths
| Differential D154468
[mlir][python] Replace PythonAttr mappings with downcasting ClosedPublic Authored by rkayaith on Jul 4 2023, 8:19 PM.
Details Summary Since op Attributes are automatically downcasted on access, these mappings depends on D154462
Diff Detail
Event Timelinerkayaith added a child revision: D154469: [mlir][python] Remove PythonAttr mapping functionality.Jul 4 2023, 8:21 PM This revision is now accepted and ready to land.Jul 10 2023, 1:41 AM Closed by commit rG82bbebbfc257: [mlir][python] Replace PythonAttr mappings with downcasting (authored by rkayaith). · Explain WhyJul 10 2023, 7:01 PM This revision was automatically updated to reflect the committed changes.
Revision Contents
Diff 537204 mlir/include/mlir/Bindings/Python/Attributes.td
mlir/test/mlir-tblgen/op-python-bindings.td
mlir/tools/mlir-tblgen/OpPythonBindingGen.cpp
|