Commit e07c92a
authored
[mlir] Fix TileUsingForOp attr-dict printing/parsing (llvm#73261)
`TileUsingForOp` has an optional Attribute `interchange` which was given
in curly braces like this: `{interchange = [...]}`. The way this was
parsed meant that no `attr-dict` could be attached to the Op.
This patch adds printing / parsing of an `attr-dict` to the Op and
prints/parses the `interchange` Attribute separate from the
discardable Attributes.1 parent 3ab41f9 commit e07c92a
File tree
3 files changed
+28
-15
lines changed- mlir
- lib/Dialect/Linalg/TransformOps
- test/Dialect/Linalg
3 files changed
+28
-15
lines changedLines changed: 15 additions & 12 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
2658 | 2658 | | |
2659 | 2659 | | |
2660 | 2660 | | |
2661 | | - | |
2662 | | - | |
2663 | | - | |
2664 | | - | |
2665 | | - | |
2666 | | - | |
2667 | | - | |
2668 | | - | |
2669 | | - | |
2670 | | - | |
| 2661 | + | |
| 2662 | + | |
| 2663 | + | |
| 2664 | + | |
| 2665 | + | |
| 2666 | + | |
| 2667 | + | |
2671 | 2668 | | |
2672 | 2669 | | |
2673 | 2670 | | |
2674 | 2671 | | |
2675 | 2672 | | |
2676 | 2673 | | |
2677 | | - | |
| 2674 | + | |
2678 | 2675 | | |
2679 | 2676 | | |
2680 | | - | |
| 2677 | + | |
2681 | 2678 | | |
2682 | 2679 | | |
2683 | 2680 | | |
| |||
2693 | 2690 | | |
2694 | 2691 | | |
2695 | 2692 | | |
| 2693 | + | |
2696 | 2694 | | |
2697 | 2695 | | |
2698 | 2696 | | |
| |||
2727 | 2725 | | |
2728 | 2726 | | |
2729 | 2727 | | |
| 2728 | + | |
| 2729 | + | |
| 2730 | + | |
| 2731 | + | |
| 2732 | + | |
2730 | 2733 | | |
2731 | 2734 | | |
2732 | 2735 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
6 | 6 | | |
7 | 7 | | |
8 | 8 | | |
| 9 | + | |
| 10 | + | |
| 11 | + | |
| 12 | + | |
| 13 | + | |
| 14 | + | |
| 15 | + | |
| 16 | + | |
| 17 | + | |
| 18 | + | |
9 | 19 | | |
10 | 20 | | |
11 | 21 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
170 | 170 | | |
171 | 171 | | |
172 | 172 | | |
173 | | - | |
| 173 | + | |
174 | 174 | | |
175 | 175 | | |
176 | 176 | | |
| |||
199 | 199 | | |
200 | 200 | | |
201 | 201 | | |
202 | | - | |
203 | | - | |
| 202 | + | |
| 203 | + | |
204 | 204 | | |
205 | 205 | | |
206 | 206 | | |
| |||
0 commit comments