<table border="1" cellspacing="0" cellpadding="8">
    <tr>
        <th>Issue</th>
        <td>
            <a href=http://email.email.llvm.org/c/eJylVE2PmzAQ_TXmYhUR85UcOCRLIu1hpaqq1PMQhuDW4Mg2ifj3HQP5WHW3qlSEYGYYv3meN6bS9Vi88hYuyKHn4JyR1eCQ19jIHmsOlrOoZNF2eWbRck8uZfGD1ltaxlm85d4osWHxy9tYSlB4dEy8cCZEozU9JyfdsbRk8Z6zfDfDcB7SdbMVOn4GAx06NFQ-LglgLXt7S-BTna8-BSiFqhH01hgYffxWxr8ElSFeTCTNisW7DwDwnwHEEwATmyfmz8TBWuwqNR60IXIzedpw_lTbd48qZpG3iNdsUOZkeaqTL-4p4s8UMfv7uxIEm5e-r7NMefmhXvfgXFZaLzpZj71TVDefhF57hyc0S9D6JkFfPyj-De792pB_b3Gcx45mCAbl-AXUgHZJ9w3Lp90uFR4BPwshhhy7sxtJiJD_aKnTVz2omlfIXYvc4FF3HfY1TfAVRu407zVNlZG9e3RdmyfujV8ozY0GmBnpPbtF6qAu4noTbyCAwbXaFG_Qom2_wUXaFvpfYILBqKJ17myn6TnQfZKuHaqQiJGj1OX2-nI2-ud0UA7SWipCRhoneRa0RQpxhum6yY8ViBiwWa8wiTLINllSN1kVKKhQ2cKPmBCdkjTL26M26Cc3LYP_5yALEQkRrcQmiqJUxOE6raBZC5FtkjSDPGFJhB1IFXqcUJtTYIoJshpOlj4qaZ19fKTzIU89YjH_BgInncJir2SNszyyPz39hhqJqrb82mI_S-CHzNI5I0UXacJgolxMfH8D9bhlew>53476</a>
        </td>
    </tr>

    <tr>
        <th>Summary</th>
        <td>
            Elide printing attribute fields when value is set to default.
        </td>
    </tr>

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

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

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

<pre>
    I have an attribute defined as 

```
def FooAttr : AttrDef<MyDialect, "foo", []> {
  ....
  let parameters = (ins
    AttrParamater<"ArrayAttr", "">:$f1;
    AttrParameter<"ArrayAttr", "">:$f2;
  )
  ...
  let assemblyFormat = [{
    `<` `f1` `=` $f1 `,` `f2` `=` $f2 `>`
  }]
}
```

`f1` is an `ArrayAttr` of `ArrayAttr` of `IntegerAttr`s, and `f2` is an `ArrayAttr` of `IntegerAttr`. They have default values of `{}` and `{}` (i.e. empty). What would be the recommended way to not print `f1` or `f2` if their values are the default values.

</pre>
<img width="1px" height="1px" alt="" src="http://email.email.llvm.org/o/eJyNU02PmzAQ_TXmYhV5zVc4cEiWRNrDSlVVqWcTD8GtwZFtEvHvOwbyseq2KkIwHo_fvJl5boycqjfaiQtQMVDhvVXN6IFKaNUAkgpHCasJ267fnK3vvMQoejBmi8coSbY0GDW0JHl9n2olNBw94a-UcN4ag995ke1IVpNkT0mxW2AojfG52Ro8PQsrevBgMX1SI8BGDe4WQOc8X0OIwBDMhtBba8UU_Lc04ccxDfIiPG1fSLL7BAD-G4A_ARBePjF_Ji6cg77R08FYJLeQx4KLp9yhe5gxZ8FCXouBkbMVqM5rfg_hf4bwZb2_TwJhizr0dRlTUX86r7tzSatcGDpaj9rRa9q_uN4GDyewq9OFJolBPij-C-7j2Zh-72BaZIcaEqP29CL0CG4NDw0r5mrXDA9H0EIMMYX-7CccREx_dNjpqxm1pA1Q3wG1cDR9D4NEBV_FRL2hg0FVWTX4R9eNfeLehoPK3mgIuyB9ZLeOOpJVIsukFJFXXkO110rCgq6G09MtahVo6ei1g2FBCD1yKBMktCLH0Wh11Xl_drPQDvielO_GJsYacKH15fb7crbm53ynDso55INGlqRFHnVV8ZJI2LQsKSFPM1mUuTxyKNNiI5lkwCMtGtCuCmrkvNcKZb89GgtB5FkdqYozztkLLxljGU_iTdaIdsN5XqZZLoqUpAx6oXQcmMTGniJbzaSa8eRwUyvn3WMTL4I6DQDVct8jMfrO2OpddOC6b-KiXCeGX8JGcyXVXMZvoAtPfw">