<table border="1" cellspacing="0" cellpadding="8">
<tr>
<th>Issue</th>
<td>
<a href=https://github.com/llvm/llvm-project/issues/62820>62820</a>
</td>
</tr>
<tr>
<th>Summary</th>
<td>
[SLP] gcc generate better code than clang for source with condition branchs
</td>
</tr>
<tr>
<th>Labels</th>
<td>
</td>
</tr>
<tr>
<th>Assignees</th>
<td>
</td>
</tr>
<tr>
<th>Reporter</th>
<td>
vfdff
</td>
</tr>
</table>
<pre>
* test: https://gcc.godbolt.org/z/jr8ssncEx
* clang: don't generate simd assemble with SLP optimation for all the 3 blocks
* gcc: generate simd assemble with SLP optimation for the 2 condition if blocks
</pre>
<img width="1px" height="1px" alt="" src="http://email.email.llvm.org/o/eJyUkcuOnDAQRb_GbKxpeQrcDQsviDqsZjHSfIEfBXhicMtVTB5fH0E6aiW72ZQlyz6le64litOKaIT-IvS1shvPuZiPMYxj5XL4aQT0kpFY1L2cmW8k6l7AIGCYvD9NObic-JTLJGD4JWB4Ly3R6r_-EOoqVH-f0Euf7DrtlJBXAReWE65YLKOkuARpiXBxCeX3yLN8e3mV-cZxsRzzKsdcpE1J8oyyli5l_40e5Mn7nftZ4A4D6fMa4nEXx3_Jx6yCqUNXd7ZC83xuG33RbXupZtO4cexqp7BRnRoDYOdbhRg0jLp9blQVDSiolQaluqZpLiel9PmCEHRXt1i3TjQKFxvTKaWPZTdYRaINzRlaUFWyDhP97aWY_dGT2yYSjUqRmB7fOHI6Gnx7eRX6uvt4uHDIjEX6HFDybNc_PRwCKG_F3_08NLhiVz9TtZVk_is88ry5k8-LgGHffj-ebiW_o2cBw5GABAxHiN8BAAD__8S3w1k">