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

    <tr>
        <th>Summary</th>
        <td>
            [mlir] ElementsAttr folders assuming DenseElementsAttr
        </td>
    </tr>

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

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

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

<pre>
    Not all ElementAttr attributes contain Attributes, yet some folders unconditionally request Attribute values. (Seen on Tensor ExtractOp folder, didn't make any check beyond but previously this was also seen Arith side).
</pre>
<img width="1px" height="1px" alt="" src="http://email.email.llvm.org/o/eJxMkUtu2zAQhk9DbQYRaOpha6GF28TLdtFeYEiOLSYU6XKGbnX7wkbSdEWA-F-YD5nDJRHNaviihucGqyy5zK_XQAmxNDb7bf6WBTBGeIm0UpKjSAEUKcFWIQaXk2BIcPz3pcxX2EiA80pwztFTYajJ5eSDhJwwxg0K_arE8mmDG8ZK3IIyhx9ECXKCn5Q4F3j5IwWdfL--p90LfPBJmb3Aim8EmDZwC7k3sLTl5MFWgWuhW8iV4wayBIbfyICRM_A9_liCLMDBkzJT2_i581M3YUPzbm9GM3Vjr5tlNrazU--GfTdoP7nR-gOex7M7a-wn9K4Js9Gm19Ou16PWvW5xZ3aDdYe-N3Ted4PqNa0YYhvjbW1zuTSBudK804fx0DURLUV-EDBmjaEoY-4synzXP9l6YdXrGFj4M0GCxAe1h2F4_oDDDzofN0fmuoZ0gWdKTP9LmlrivIhcWXVHZU7KnC5Blmpbl1dlTvei9-fpWvIrOVHm9NjNypzep99m8zcAAP__V73DZQ">