Commit fe3d08a
committed
[mlir][python] Fix ir.Value type to not break other types (llvm#167930)
Change in llvm#166148 caused breaks
for some other types.
Specifically this error was seen in a downstream project
```
_ods_ir.OpOperandList[_ods_ir.IntegerType]:
TypeError: type 'iree.compiler._mlir_libs._mlir.ir.OpOperandList' is not subscriptable
```
This PR tries to make those changes not affect the other types
---------
Signed-off-by: Nirvedh Meshram <[email protected]>1 parent 7b7a422 commit fe3d08a
1 file changed
+4
-2
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
437 | 437 | | |
438 | 438 | | |
439 | 439 | | |
440 | | - | |
| 440 | + | |
| 441 | + | |
441 | 442 | | |
442 | 443 | | |
443 | 444 | | |
| |||
473 | 474 | | |
474 | 475 | | |
475 | 476 | | |
476 | | - | |
| 477 | + | |
| 478 | + | |
477 | 479 | | |
478 | 480 | | |
479 | 481 | | |
| |||
0 commit comments