<table border="1" cellspacing="0" cellpadding="8">
    <tr>
        <th>Issue</th>
        <td>
            <a href=https://github.com/llvm/llvm-project/issues/57689>57689</a>
        </td>
    </tr>

    <tr>
        <th>Summary</th>
        <td>
            [MLIR Core] Attribute::print support support `printAttributeWithoutType` form
        </td>
    </tr>

    <tr>
      <th>Labels</th>
      <td>
            mlir:core
      </td>
    </tr>

    <tr>
      <th>Assignees</th>
      <td>
      </td>
    </tr>

    <tr>
      <th>Reporter</th>
      <td>
          lattner
      </td>
    </tr>
</table>

<pre>
    The AsmPrinter interface supports a `printAttributeWithoutType`, but this isn't exposed out through the Attributes::print method.  It would be convenient if it provided a defaulted argument of "dontPrintType=false" or something, which would enable this.  This would enable clients that have a raw_ostream (e.g. when converting an attribute to string) to elide the type.
</pre>
<img width="1px" height="1px" alt="" src="http://email.email.llvm.org/o/eJyFUU2L3DAM_TXJRTRknO9DDtNdFhZ2oZSBHouTKImLEwdbnun--8ruTrc9FUwU-cl670mDmd76y4pwdtsXq3ZCC_E7yxHB-eMwlhxISOr8CPiZyKrBE35TtBpPl7cDGUvEA_At0KocKLcnoiHAn4dxOIGJgDV-WTky172HS4ozn9gYNuSGUwbwTHAzXk8wIIxmv-KukHE1gyI4rLmqiZtKmHCWXlP4t4vfQo2ZIRFiMjtFM1Fc8ThL7ZDvwVhwJvCofQmKb6sa13cy3OWgMRpgDZfg4x9g1EGF4wJJsMorsgIrb9-NI4tyY94WsyXjnrj_lm2JaUDuIO9-gQxweWTvQoKavcSZEEvNUuxPdS26qq2aJp36YuqKTqakSGOfVJ9fX56_woOxmFSPH1P8e4jvG_sT_7M2mI3dUm91vxIdcR3iic_CVX7IRrNxovX1Hj7x-H_gSJwq5zwvUDxVTd126dqPQ1WX-YyyKcpODuOpHouqHev6JJqybttUywG1Cz54F5tWlunGYEYI9pOqXuRC5N1J5GVVn5oMu6Gbyjaf5hmxrMqkzHGTSmdBSWbskto-ihr84hjUypH7AKVzatkxDi70l56d8wvexo42jfr7KP4XMrwHew">