Commit 2858955
[CIR] Start printing/parsing func 'attributes' (llvm#169674)
This patch adds a print and parse ability for the func to have
MLIR-standard 'attributes' printed along side the standard function.
This patch also seeds the initial "disallowed" list so that we don't
print things that we have custom printing for, AND will disallow them
from being parsed. I believe this list to be complete, and it passes all
tests.
This printing of attributes is necessary for testing some OpenACC things
that putting into the normal func-printing seems unnecessary.1 parent db6cfcd commit 2858955
File tree
3 files changed
+36
-0
lines changed- clang
- lib/CIR/Dialect/IR
- test/CIR/IR
3 files changed
+36
-0
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1920 | 1920 | | |
1921 | 1921 | | |
1922 | 1922 | | |
| 1923 | + | |
| 1924 | + | |
| 1925 | + | |
| 1926 | + | |
| 1927 | + | |
| 1928 | + | |
| 1929 | + | |
| 1930 | + | |
| 1931 | + | |
| 1932 | + | |
| 1933 | + | |
| 1934 | + | |
| 1935 | + | |
| 1936 | + | |
1923 | 1937 | | |
1924 | 1938 | | |
1925 | 1939 | | |
| |||
2073 | 2087 | | |
2074 | 2088 | | |
2075 | 2089 | | |
| 2090 | + | |
| 2091 | + | |
| 2092 | + | |
2076 | 2093 | | |
2077 | 2094 | | |
2078 | 2095 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
186 | 186 | | |
187 | 187 | | |
188 | 188 | | |
| 189 | + | |
| 190 | + | |
| 191 | + | |
| 192 | + | |
| 193 | + | |
| 194 | + | |
| 195 | + | |
| 196 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
| 11 | + | |
0 commit comments