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

    <tr>
        <th>Summary</th>
        <td>
            Use of I32Attr from OpBase.td in AttrDef crashes in table gen.
        </td>
    </tr>

    <tr>
      <th>Labels</th>
      <td>
            new issue
      </td>
    </tr>

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

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

<pre>
    ```
include "mlir/IR/OpBase.td"

def Foo : AttrDef<Some_Dialect, "Doo"> {
  let summary = "...";

 let mnemonic = "foo";

  let parameters = (ins
 I32Attr:$bar
  );

  let assemblyFormat = "`<` struct(params) `>`";
}
```

when compiled using tablegen crashes.
</pre>
<img width="1px" height="1px" alt="" src="http://email.email.llvm.org/o/eJxskk-PpCwQxj8NXsgYwFbbg4fucUzm9CbvZs8baEplA9KhcCf97TfQujuTbGJKA7_685SPRDTzCtCT-krqoZBbXHzoVxMNLoJzUSivHz1p2P6wgbCLWW9200CJEM6aQMT4_j8R43_3q0QooyZCPMFn1DDR0XtKqgu9xBgGmEj1-s07-DEYaeEWiXhNxQbvU2r1Rkl7feZSaiFS3JyT4UFJNSSuLMvMXT93yaBbwfnV3A5y2it-JTN6l0E6iBBwh89mxR14r0QalFQXIk5KhiOPiO6ftSQiOGUfow9OxqN52lf1ShpGMYYtqTznpkhER_PlW4qf52uH_ePrwp_xY4GV3ry7GwuabmjWmUapLMzpPEhcAMtC95Xuqk4W0POmbU5nJnhTLD3rmIRWcn6WvONq4lx3SrKuqadWK9UWphdMVEzwmjd1UzflpCelT6Bv56kSNZ_IiYGTxpbW_nKlD3NhEDfoG9a2p8JKBRazkYRY4YPmy6SuHorQp5wXtc1ITswajPi3SjTRQv8dgfrpWD2dgnf0j6OoWQ_rHErTUVZPZ1jLYgu2X2K8Y_5pIxHjbOKyqfLmHRFjara_Xu7B_8ymG_OISMSYJfwOAAD__xy24-8">