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

    <tr>
        <th>Summary</th>
        <td>
            Assertion failure on AIX due to "2faacf61a50e [SLP]Improve shuffles cost estimation where possible"
        </td>
    </tr>

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

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

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

<pre>
    opt -slp-vectorizer bugpoint-reduced-simplified.ll

opt: /home/tingwa/repo/public/llvm-project-14618/llvm/lib/Transforms/Vectorize/SLPVectorizer.cpp:7744: llvm::Value *llvm::slpvectorizer::BoUpSLP::createBuildVector(ArrayRef<llvm::Value *>): Assertion `any_of(VectorizableTree, [VL](const std::unique_ptr<TreeEntry> &TE) { return TE->State == TreeEntry::NeedToGather && TE->isSame(VL); }) && "Non-matching gather node."' failed.
PLEASE submit a bug report to https://github.com/llvm/llvm-project/issues/ and include the crash backtrace.

[bugpoint-reduced-simplified.ll.txt](https://github.com/llvm/llvm-project/files/8996893/bugpoint-reduced-simplified.ll.txt)


</pre>
<img width="1px" height="1px" alt="" src="http://email.email.llvm.org/o/eJydUl1v2yAU_TXkBcVycOzYD35ImnSqVFXVklV7qzBcx2zYeHy0y379LnG75GGatknIXMCcc7jnNEaeajN6Ond6nL-A8MaqH2BpE46jUYOfW5BBgJw71Y9atQpkojVJtyRdT1-8TbI1Jey2Mz3g5NVwfOVYWBgNTmNotBJYaP3Sz0drviDNfLEsFuXbZpxUg9-D5YNrje0dLp7e1WC9v3_8tbSJGEekXK2Wy8h8RsjWOJ64DoBK1pctfNblVdPWxnwaEW9aCAvcwyYoLScCwsq1tfz0EVqS3fwGm2Q7wqpIvHYOrFdmoKRI-XB6Ni3eftfJGw0HC6j-hpJ883RP8i0eCzM4T52XE2wY1LcAz6NHcTfx993g7Qk5kKo4RCZKVhtqwQc70MNujkd7j5IpybY46NWdiPcAIA_mA_cdmogQON5uKbfn0Z8SlUT9GwTenvGnvwhjD2aY99yLDh2kxwljMBISPCNsRVuuNPo_-f54v1vvd9SFplee8pgYGh23nnpDO-9HFyWxWxxH5bvQJML0V45fpQGXyrkA0XbKB0nVIHSQQFECFZa7jjZcfPWWC0iuw4eN_XNSE__dT43_Z0UtPjYKKquqKKsMq7-gws5eyZvJOpNVVvGZV15DfUlMbGWwQLFc332mErOFXcM-s5Zz0RYLnqcQcxOTmm_vetT1AtR1oW1RFhUGUwTOK_Qr4r2iV0BH45zC3CHOLFhd_78LecHyYtbVvGUL3lQLLhaScShAYjcyuWiz5TJvSzbTvAHtalSKpAO80jNEDEy-namapYylBSvTxTJny6RdAZSVzLAnxaoVFVmm0GMrkqgjMfY4s_VZErba4aFWzrvLIcfnHQeAMx3i8-A7Y2tjxTHYMDtT12fpPwHIl492">