Commit 7be59f6
committed
[mlir][Transforms] Support rolling back properties in dialect conversion
The dialect conversion rolls back inplace op modifications upon failure. Rolling back modifications of op properties was not supported before this commit.1 parent 1c69f42 commit 7be59f6
File tree
3 files changed
+56
-2
lines changed- mlir
- lib/Transforms/Utils
- test
- Transforms
- lib/Dialect/Test
3 files changed
+56
-2
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1002 | 1002 | | |
1003 | 1003 | | |
1004 | 1004 | | |
1005 | | - | |
| 1005 | + | |
| 1006 | + | |
| 1007 | + | |
| 1008 | + | |
| 1009 | + | |
| 1010 | + | |
| 1011 | + | |
| 1012 | + | |
1006 | 1013 | | |
1007 | 1014 | | |
1008 | 1015 | | |
1009 | 1016 | | |
1010 | 1017 | | |
| 1018 | + | |
| 1019 | + | |
| 1020 | + | |
| 1021 | + | |
| 1022 | + | |
| 1023 | + | |
| 1024 | + | |
| 1025 | + | |
| 1026 | + | |
| 1027 | + | |
| 1028 | + | |
| 1029 | + | |
1011 | 1030 | | |
1012 | 1031 | | |
1013 | 1032 | | |
| |||
1016 | 1035 | | |
1017 | 1036 | | |
1018 | 1037 | | |
| 1038 | + | |
| 1039 | + | |
| 1040 | + | |
| 1041 | + | |
| 1042 | + | |
| 1043 | + | |
1019 | 1044 | | |
1020 | 1045 | | |
1021 | 1046 | | |
1022 | 1047 | | |
1023 | 1048 | | |
1024 | 1049 | | |
1025 | 1050 | | |
| 1051 | + | |
1026 | 1052 | | |
1027 | 1053 | | |
1028 | 1054 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
334 | 334 | | |
335 | 335 | | |
336 | 336 | | |
| 337 | + | |
| 338 | + | |
| 339 | + | |
| 340 | + | |
| 341 | + | |
| 342 | + | |
| 343 | + | |
| 344 | + | |
| 345 | + | |
| 346 | + | |
| 347 | + | |
| 348 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
806 | 806 | | |
807 | 807 | | |
808 | 808 | | |
| 809 | + | |
| 810 | + | |
| 811 | + | |
| 812 | + | |
| 813 | + | |
| 814 | + | |
| 815 | + | |
| 816 | + | |
| 817 | + | |
| 818 | + | |
| 819 | + | |
| 820 | + | |
| 821 | + | |
| 822 | + | |
| 823 | + | |
809 | 824 | | |
810 | 825 | | |
811 | 826 | | |
| |||
1085 | 1100 | | |
1086 | 1101 | | |
1087 | 1102 | | |
1088 | | - | |
| 1103 | + | |
| 1104 | + | |
1089 | 1105 | | |
1090 | 1106 | | |
1091 | 1107 | | |
| |||
0 commit comments