Commit 740f674
authored
[mlir][acc] Fix extraneous space when printing acc.loop (llvm#137839)
The acc.loop printer inserted two spaces after the operation. This
occurred because the custom combined loop attribute printer was not
conditional - and thus the tablegen inserted an automatic space before
invoking the custom printer. Then for each additional attribute it also
inserted a space in beginning.
Since lit tests were not sensitive to this, no tests need updated. But
the issue with the extraneous space is resolved.1 parent e17122f commit 740f674
File tree
2 files changed
+17
-23
lines changed- mlir
- include/mlir/Dialect/OpenACC
- lib/Dialect/OpenACC/IR
2 files changed
+17
-23
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
2197 | 2197 | | |
2198 | 2198 | | |
2199 | 2199 | | |
2200 | | - | |
| 2200 | + | |
2201 | 2201 | | |
2202 | 2202 | | |
2203 | 2203 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1686 | 1686 | | |
1687 | 1687 | | |
1688 | 1688 | | |
1689 | | - | |
1690 | | - | |
1691 | | - | |
1692 | | - | |
1693 | | - | |
1694 | | - | |
1695 | | - | |
1696 | | - | |
1697 | | - | |
1698 | | - | |
1699 | | - | |
1700 | | - | |
1701 | | - | |
1702 | | - | |
1703 | | - | |
1704 | | - | |
1705 | | - | |
1706 | | - | |
1707 | | - | |
| 1689 | + | |
| 1690 | + | |
| 1691 | + | |
| 1692 | + | |
| 1693 | + | |
| 1694 | + | |
| 1695 | + | |
| 1696 | + | |
| 1697 | + | |
| 1698 | + | |
| 1699 | + | |
| 1700 | + | |
| 1701 | + | |
1708 | 1702 | | |
1709 | 1703 | | |
1710 | 1704 | | |
| |||
1715 | 1709 | | |
1716 | 1710 | | |
1717 | 1711 | | |
1718 | | - | |
| 1712 | + | |
1719 | 1713 | | |
1720 | 1714 | | |
1721 | | - | |
| 1715 | + | |
1722 | 1716 | | |
1723 | 1717 | | |
1724 | | - | |
| 1718 | + | |
1725 | 1719 | | |
1726 | 1720 | | |
1727 | 1721 | | |
| |||
0 commit comments