<table border="1" cellspacing="0" cellpadding="8">
<tr>
<th>Issue</th>
<td>
<a href=https://github.com/llvm/llvm-project/issues/155475>155475</a>
</td>
</tr>
<tr>
<th>Summary</th>
<td>
[MLIR] Properties migration todo-list
</td>
</tr>
<tr>
<th>Labels</th>
<td>
mlir
</td>
</tr>
<tr>
<th>Assignees</th>
<td>
</td>
</tr>
<tr>
<th>Reporter</th>
<td>
joker-eph
</td>
</tr>
</table>
<pre>
This is a tracking tickets for the list of things to do to complete the migration to properties as the preferred way to store static informations on operations.
Some context:
- https://discourse.llvm.org/t/mlir-open-meeting-properties-design-discussion-and-next-steps/87774
- https://discourse.llvm.org/t/non-attribute-properties-and-the-inherent-discardable-attribute-split-what-needs-doing/87782
# Finishing the split from discardable attributes
- [ ] `prop-dict` printer: should use the custom printing for the attributes it contains.
- [ ] Declarative assembly should never include properties in attr-dict (forces prop-dict to be present)
- [ ] Operation builder that consistently stops looking into attributes to define properties.
Upstream migration:
- Audits of getAttrs(), getAttrDictionary() and so on. Example: the “sym_name” should not be load bearing as a key, we should use op interface consistently.
- Start migrating upstream dialects (llvm, arith, scf as first candidates?)
# Other improvements:
- [ ] “Context-free” parsing (remove the need for attribute conversion)
- [ ] C-bindings generated from ODS for properties.
We can file tracking tickets for some of the larger tasks as needed.
</pre>
<img width="1" height="1" alt="" src="http://email.email.llvm.org/o/eJyUVV1v6zYM_TXKC-HAVeLEechDbnMDDNjQYd2wx0G2aFu3tmSIdNr8-4Fy89FtLwOCJLZF8pDn8NgQudYj7lXxTRXHhZm4C3H_I7xhzHDsFlWwl_3vnSNwBAY4mvrN-RbY1W_IBE2IwB1C74ghNMCd8y0BB7BBvuswjD0ypkODa6NhF7w8GWMYMbJDAkPp8RixwRjRwru5yBHiEBGIDbsanG9CHFI4QfAg0fPVUuUHlR9ew4BQB8_4wWp1mG9m0DGPJNf6pPTJOqrDFAmXfX8eliG2Sp9Y6dPQu5iFEX02ILLzbXYHmFmUMWUSPBG54DPjbebxgzNiHEnpU7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