<table border="1" cellspacing="0" cellpadding="8">
<tr>
<th>Issue</th>
<td>
<a href=https://github.com/llvm/llvm-project/issues/59041>59041</a>
</td>
</tr>
<tr>
<th>Summary</th>
<td>
[mlir] Unused attribute alias being printed
</td>
</tr>
<tr>
<th>Labels</th>
<td>
mlir
</td>
</tr>
<tr>
<th>Assignees</th>
<td>
</td>
</tr>
<tr>
<th>Reporter</th>
<td>
rkayaith
</td>
</tr>
</table>
<pre>
```mlir
// test.mlir
func.func private @foo(memref<10xi32>)
```
```console
$ mlir-opt test.mlir
#map = affine_map<(d0) -> (d0)>
module {
func.func private @foo(memref<10xi32>)
}
```
Previously the identity layout map here would be completely elided.
</pre>
<img width="1px" height="1px" alt="" src="http://email.email.llvm.org/o/eJydkU-vnCAUxT8NbsgYhBF1waKv8966m64blKvSohj-TOu379U3k5c2XTUh4AE553cvvTe7IpK9j8XZQNiNsE-Ev-GgCWIqP3bHvA7lMdEt2LtOQMmVjd4T3i6wBBiJ-FyxX1ZwIl4J7x5eT_uH_HNz8Gv0Dp6xV3rEXfyW_g4nXCx6o0TcqB5Hu8I3lBiI4YZhGL1gKH2qA-C8tniTHYI2L--a0v-sorn9s5wvAe7W5-h2mmag1sCabNqp07vPiR7IMwSgP312hvZAB79sDhLgBXD4uylpAaqSspVCNk1TGCVMJzpdoI8DReqXswn1jX5dcwRDdUrB9hnBtbM6oqldp6OYNYEpcnBqTmmLRDyecbJpzn2JwSicuz-Xyxb8dxgSShtjhogfdceuVTErPkDNZNMbYWrOWgEjaMEaZirOOmB14XQPLh50hPMTkHNkLKzijPOqqiTOvJZl1zZaai5bLa5SiB6bDYu2rjwQSh-mIqiTps9TxENnY4ofhzpGO61w9uHw1znNPqjwQ-8a6ypOcnVi_wasY9dC">