We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 4448ff4 commit 1faa5e2Copy full SHA for 1faa5e2
mlir/lib/Bindings/Python/IRCore.cpp
@@ -598,7 +598,7 @@ class PyOpOperand {
598
public:
599
PyOpOperand(MlirOpOperand opOperand) : opOperand(opOperand) {}
600
601
- PyOpView getOwner() {
+ nb::typed<nb::object, PyOpView> getOwner() {
602
MlirOperation owner = mlirOpOperandGetOwner(opOperand);
603
PyMlirContextRef context =
604
PyMlirContext::forContext(mlirOperationGetContext(owner));
0 commit comments