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

    <tr>
        <th>Summary</th>
        <td>
            [SLP] Assertion "Packing must reduce size of vector type." failed 
        </td>
    </tr>

    <tr>
      <th>Labels</th>
      <td>
            llvm:SLPVectorizer,
            crash-on-valid
      </td>
    </tr>

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

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

<pre>
    opt -mtriple=s390x-unknown-linux -mcpu=z16 -O3 ./tc_slp.ll -o /dev/null

[tc_slp.ll.tar.gz](https://github.com/llvm/llvm-project/files/14851317/tc_slp.ll.tar.gz)

Assertion "Packing must reduce size of vector type."' failed.
...
#23 0x0000000004f8b146 llvm::SLPVectorizerPass::run

@alexey-bataev 

Thanks for the fixes, but I still wonder: Are these all separate issues? Is a proper review done for each fix? Fourth time now...

</pre>
<img width="1px" height="1px" alt="" src="http://email.email.llvm.org/o/eJycU0FvozoQ_jXmMgLhsQlw4JA2QupTpRepT--6MjAEbx0b2SZJ8-tXoWm3Pe76YFvj0TfffPNZhaAPlqhhxQMrdola4uR884-z-xCc5UnnhrfGzRHSY_R6NsTELog6v6SLfbXubFOj7XKB9NjPCxO7K99A-q-AjGEb-x_BzJkxkDpg2A50YtjaxRiW71i-ve_Fw2diFpXPDldW7BhWU4xzYGLLsGXYHnScli7r3ZFha8zp40hn735SHxm2ozYUGLZcVgUXvPxK4QMZ66-1tyGQj9pZYIh71b9qe4DjEiJ4GpaeIOgrgRvhRH10HuLbTBlDZFjCqLShIXsHyrL7haFAAfkl_1hyrDouN7BSFlsmti_P-_9XOH0lv1chvIf9Yr_JInNl6EJvaaeiohN8ffxvUvY1wHijNBGM-nJr_BG6JcIThKiNgbOzA3kmtrD1dEsLBMoYCDQrryKBDmGhwEQLTwEUzN7N5MHTSdMZBmdpxSfVT7cCt7zWLT5OEPWRwLrzZ9PJ0IihFrVKqOElRy6FrDCZGpJd2W3GvhIjijovZd7nyDd8UwyF4mWV6AZzlLnMBecoRZ0Jzisq8qKqhlLWRc1kTkelTXbTL3P-kKy0m6qUZZkY1ZEJq3kR7wp_k3ed1SND7L0KU-pselJGD7dwsUt8szqoWw6BydzoEMPvOlFHs_6Ll-c9K3bwt165GwWSxZvmjz19HxK2a8O_AgAA__9ulScn">