Adds owner python call to mlir.ir.Value.
Assuming that PyValue.parentOperation is intended to be the value's owner, this fixes the construction of it from PyOpOperandList.
Paths
| Differential D103853
[MLIR] [Python] Add `owner` to PyValue and fix its parent reference ClosedPublic Authored by jdd on Jun 7 2021, 4:40 PM.
Details Summary Adds owner python call to mlir.ir.Value. Assuming that PyValue.parentOperation is intended to be the value's owner, this fixes the construction of it from PyOpOperandList.
Diff Detail
Event TimelineHerald added subscribers: shabalin, dcaballe, cota and 17 others. · View Herald TranscriptJun 7 2021, 4:40 PM jdd retitled this revision from [MLIR] [Python] Fix parent of PyValue being constructed by PyOpOperandList to [MLIR] [Python] Add `owner` to PyValue and fix its parent reference.Jun 7 2021, 4:44 PM This revision is now accepted and ready to land.Jun 14 2021, 9:37 PM Closed by commit rG5664c5e24ed4: [MLIR] [Python] Add `owner` to PyValue and fix its parent reference (authored by jdd). · Explain WhyJul 14 2021, 8:46 PM This revision was automatically updated to reflect the committed changes.
Revision Contents
Diff 358836 mlir/lib/Bindings/Python/IRCore.cpp
|