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

    <tr>
        <th>Summary</th>
        <td>
            Tosa to Linalg indexingmap bug fix
        </td>
    </tr>

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

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

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

<pre>
    [https://github.com/llvm/llvm-project/compare/main...AmosLewis:llvm-project:tosa-to-linalg](https://github.com/llvm/llvm-project/compare/main...AmosLewis:llvm-project:tosa-to-linalg)

I meet this bug when I tried to add aten.where.self ops to tosa in torch-mlir project. I write a wip patch to fix this.


</pre>
<img width="1px" height="1px" alt="" src="http://email.email.llvm.org/o/eJy9Ustu5CAQ_Bq4oEEYw3h84DBRtFKkHPcHwO6xibCxAK-Tv0_bm-cxl0iI7lbRVQWNi_2LIfpuLGXJpL4S-QfX4Mu4Ot7FCYsQ_r2H05LiE3QFS8QWmwCzyfqZc36dYn6Eze8s387W1xKzPZV4Cn62YSD6nsjLbwrKloh7Iq7_9wc2ARRWRp-ZWwe2jTCzB1aSh56VyGzfM1tg5ggk4BnCjcUl79DOy_yMMXXjaQo-sTdRjgxb8gWYZZtf2GJLN-4tN_98SPGvFiiY6nxWrRSNlrQ3dd_WraXFlwDm7y6CnY-HeZTr4dnPw2SXwy4S0jUF8-MH9DmvkDHRl0orOhrRyEo00Ijeuca1DvSlkUq3oOBW1-JMg3UQ8v49iJQzbOygwBxHSL2RQiKBULLSbSW5g7OqOlU7ZbXVjSBKAI4q8N0Hj2mgyRyW8BYZweBzyZ-gzdkPM8Ahh_x2LWNM5mPK9BA3h_lX9TPiiA">