Commit 8897dd6
authored
[mlir][Transforms][NFC] Dialect Conversion: Simplify
This commit simplifies the signature of `OperationConverter::finalize`.
This function always returns "success", so the return value can be
removed.
Note: Previously, this function used to return "failure" if a
materialization failed to legalize. This is now optional and happening
at a later point of time (see `config.buildMaterializations`).finalize signature (#110419)1 parent c26a522 commit 8897dd6
1 file changed
+3
-7
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
2340 | 2340 | | |
2341 | 2341 | | |
2342 | 2342 | | |
2343 | | - | |
| 2343 | + | |
2344 | 2344 | | |
2345 | 2345 | | |
2346 | 2346 | | |
| |||
2464 | 2464 | | |
2465 | 2465 | | |
2466 | 2466 | | |
2467 | | - | |
2468 | | - | |
| 2467 | + | |
2469 | 2468 | | |
2470 | 2469 | | |
2471 | 2470 | | |
| |||
2542 | 2541 | | |
2543 | 2542 | | |
2544 | 2543 | | |
2545 | | - | |
2546 | | - | |
| 2544 | + | |
2547 | 2545 | | |
2548 | 2546 | | |
2549 | 2547 | | |
| |||
2578 | 2576 | | |
2579 | 2577 | | |
2580 | 2578 | | |
2581 | | - | |
2582 | | - | |
2583 | 2579 | | |
2584 | 2580 | | |
2585 | 2581 | | |
| |||
0 commit comments