Skip to content

Commit 59ff4d1

Browse files
[mlir][Transforms][NFC] Turn unresolved materializations into IRRewrites (#81761)
This commit is a refactoring of the dialect conversion. The dialect conversion maintains a list of "IR rewrites" that can be committed (upon success) or rolled back (upon failure). This commit turns the creation of unresolved materializations (`unrealized_conversion_cast`) into `IRRewrite` objects. After this commit, all steps in `applyRewrites` and `discardRewrites` are calls to `IRRewrite::commit` and `IRRewrite::rollback`.
1 parent 9ca70d7 commit 59ff4d1

File tree

1 file changed

+176
-193
lines changed

1 file changed

+176
-193
lines changed

0 commit comments

Comments
 (0)