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

    <tr>
        <th>Summary</th>
        <td>
            Roundtrip `tensor` of `complex<i1>`s
        </td>
    </tr>

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

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

    <tr>
      <th>Reporter</th>
      <td>
          erick-xanadu
      </td>
    </tr>
</table>

<pre>
    https://godbolt.org/z/5GYYfPs6G

I believe that only the real component of complex<i1> is getting parsed.

Input:

```
%complex_tensor_i1 = "test.op"() {"value" = dense<[(true, true), (false, true)]> : tensor<2xcomplex<i1>>} : () -> tensor<2xcomplex<i1>>
```

Expected output:

```
"builtin.module"() ({
  %0 = "test.op"() {value = dense<[(true,true), (false,true)]> : tensor<2xcomplex<i1>>} : () -> tensor<2xcomplex<i1>>
}) : () -> ()
```

Observed output:

```
"builtin.module"() ({
  %0 = "test.op"() {value = dense<[(true,false), (false,false)]> : tensor<2xcomplex<i1>>} : () -> tensor<2xcomplex<i1>>
}) : () -> ()
```
</pre>
<img width="1" height="1" alt="" src="http://email.email.llvm.org/o/eJzMlDtv2zAUhX_N1UJYoK7egwbFjoJOLbplCijxymZLi4JIuk5_fUFF6MNtMhYBCPB5L8_5hiOsVceJqIH8DvJDJLw7maWhRQ1fd1cxCemj3sjn5uTcbCFtATvA7mhkb7SLzXIE7L4DdvnD4-P4yRYPwFvg7QfWk1Z0IeZOwjEz6WfmTsQWEpoN5jybiSbHzLhuNF0h3asE0numLDuSc2o6slkslmS8dZxm74KAdQcF3wZvAfOtyZOjyZrlSSUM0gMDREfWxWYGRMAKsGZQ3gHiRWhPgLg-kzRZgnQfEGDllnCzZy9zHZaA1Si0_eM4PwSxkLbs5U9I93i98RJGeVgfbb_vQtHbBTfeeHt_nWlwJJnx7nUE2HulnZris5Fe02-GsQqeecsYYM7fArNSeR3Jv4n8DyDlYVV4U_ay_hvYx97ScnkHwDZEt8R-Hr8HZJFsUlmntYioScqszLBIsjo6NYiSJ8OYVKOQVS-rosqGIc_GopJYJzVGqkGOOc-TAjmveR2PgsQ4lmUqyjKpBIeM01koHWt9OYeoiJS1npok4ynHSIuetF2DB3Gib2y9DXzzQ7Q0oWjX-6OFjGtlnf3Vximnqfls_CTdomYGBd94FDxEChT8FkrBbeQXfRtjyp18Hw_mDNiF9tu0mxfzhQYH2K2iLGC3qb40-CMAAP__erp4Tw">