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

    <tr>
        <th>Summary</th>
        <td>
            Assertion `isa<To>(Val) && "cast<Ty>() argument of incompatible type!"' failed.
        </td>
    </tr>

    <tr>
      <th>Labels</th>
      <td>
            llvm:SLPVectorizer
      </td>
    </tr>

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

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

<pre>
    clang -cc1 -triple s390x-ibm-linux -S -target-cpu arch13 -O3 -vectorize-slp -mllvm -slp-optimize-identity-hor-reduction-ops=false -o /dev/null tc_slp.ll

#9 0x000002aa036c0d2e llvm::slpvectorizer::BoUpSLP::computeMinimumValueSizes()

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

@alexey-bataev 
</pre>
<img width="1px" height="1px" alt="" src="http://email.email.llvm.org/o/eJyUkstu2zoQhp9mtCEoUENdF1o4x0eLIkUDuM22oKiRzIISBZIy7Dx9ITtokO7KBW8_MPPN_KNCMNNC1ELxBMUxUVs8O99-cctLCG7Jkt4Nt1ZbtUyMa50xHr1ZLbEgG3Hlpp-5Nct2ZfzEeFR-osj1ujHl9TmTjH-TjF9IR-fNG_FgV8Znay8z2-_crdHMu2AGWqKJN352nnsaNh2NW7hbA8jjqGwgxh0D7Aa6AHbLZi2L-mewa2otiCOIw_uOsmHiKvaFSglZajEgsT0nyAPIQ7DrHyD_-HpyP9bT88vjod28bpG-msXM2_yq7EYn80YBsAZsPuUqnt4ZovLp9AbFEbA-x7hTHwA7wG4y8bz1qXYzYHeHeBx89e4X6QjYjcbu0bssF1jXeQ3YfQ77V9ZcKEtXuvFeRUUXlgytHBrZqITarBKlkJXEMjm3Va5KXVExjMMoKjVKrBU2RTkqVVeqyBPTosBcZCizJiuwTGVDuteZzrCkphp7yAXNyth0R06dnxITwkZt1WSNTKzqyYb75CC-N_j0_PL60V3EfaZ8e6-436YAubAmxPARMJpoqT2EQH63nEEpTFAg__vuQP4PWL8qC9gwwBKwZICoVYi7fnvou6j8tM20ROZGZpbdQRVNb4nF20qA2Q6CFRuVsTSkyeZt-8823SvffboX_zsAAP__7VQDMA">