| Issue |
64630
|
| Summary |
[MLIR][Python Bindings] No `.owner` for empty result
|
| Labels |
new issue
|
| Assignees |
|
| Reporter |
zzzDavid
|
In MLIR Python binding, if an operation has empty results list, the empty result list has not `.owner` object. For example:
```
linalg_copy = linalg.copy(in, outs=[...], loc=loc, ip=ip)
```
`linalg_copy` is an empty `OpResultList`, and it does not have access to its `.owner` object, so there is no way to access the created operation through its results.
@makslevental
_______________________________________________
llvm-bugs mailing list
[email protected]
https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-bugs