<table border="1" cellspacing="0" cellpadding="8">
<tr>
<th>Issue</th>
<td>
<a href=https://github.com/llvm/llvm-project/issues/99899>99899</a>
</td>
</tr>
<tr>
<th>Summary</th>
<td>
[SLP] crash after 8ff233f
</td>
</tr>
<tr>
<th>Labels</th>
<td>
new issue
</td>
</tr>
<tr>
<th>Assignees</th>
<td>
alexey-bataev
</td>
</tr>
<tr>
<th>Reporter</th>
<td>
JonPsson1
</td>
</tr>
</table>
<pre>
8ff233f "[SLP]Correctly detect minnum/maxnum patterns for select/cmp operations on floats." seems to have introduced a problem when building SPEC on SystemZ.
opt -mtriple=s390x-linux-gnu -mcpu=z16 -O3 ./tc_slp.ll -o /dev/null
opt: /home/ijonpan/llvm-project/llvm/include/llvm/IR/DerivedTypes.h:704: llvm::Type* llvm::Type::getWithNewBitWidth(unsigned int) const: Assertion `isIntOrIntVectorTy() && "Original type expected to be a vector of integers or a scalar integer."' failed.
...
#15 0x000000000519c8f8 llvm::slpvectorizer::BoUpSLP::getEntryCost
[tc_slp.ll.tar.gz](https://github.com/user-attachments/files/16337301/tc_slp.ll.tar.gz)
</pre>
<img width="1px" height="1px" alt="" src="http://email.email.llvm.org/o/eJx8VF2PqzYQ_TXOywgEJnw98JBsLtJWVXfVve2V-lIZM4CvjI3sIZvsr69MkntXrVQe-Jixz4zPOYPwXo0GsWH5kXEuNF7wGnWCBJ4Z5yw_7cRKk3XNL9a8em9Nuutsf22qYeBZNsC26Pj26yvLT0_WOZSkr9AjoSSYlTHrzHg7i4tZZ1gEETrjYbAOPGqUxHgr5wXsgk6QssaDNTBoK8jHjHPwiLMHsjCJM4Iy5Gy_SuxBwOJsp3GG9wkNdKvSvTIjvL1-eQoYb1dPOP8Vs-TEksPtbheCaCanFo0sO_msTi6RVma9RKNZIZrlsrLs9JEWEL1kEDPekvzb6yXWGiILjLd94KU1q9Y_IFl2CJnJzsh4q75bswjDeKv1eY4WZ7_fjhk-Q95Ivfb4M_D8O-PtCZ06Y__1uqCPJ5YdymQfcLc12YFlh5Bi_D-R7W1E-qZo-g3fj4q-qZ4mxqvVbNL2gTTGa5DW-K3Xg_foAtfAikT5Z0Mv7tnQnyjJuq9XxquwnPGC8SLo--LUqIzQQNcFAS8LSsI-aNIhCDhv-8AOoRCO6DxYBwK8FFq4RzCIyXgJg1Aa-7sqcfyQh2dpDskleVx5WstqqD6d1uvlVkl9oLuFjvaPJTjvwcEXQ-76ZD191pzlxx8axiRcPH6w_MR4NREtPuzlLePtqGhau1jaIMnq0UWCSMhpRkOe8XZQGsMzLbKszJL0szUesLy-ldz1TdbXWS122KQlT4uiLLNiNzVdL4cuTbtskNW-K-tK1JjUhUzzuurqId-phid8n5Scp2XC0yKu8jrlCXZ9yWWSlCnbJzgLpeNATGzduFPer9jUdVXXOy061P4-ywbfYUve59g1myG7dfRsn2jlyf9EIUV6-wncJhmkE34CMRA6uI_6bnW6-R_S7nb-l-u3DgJxtw7PDf8nAAD__6GuaeA">