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

    <tr>
        <th>Summary</th>
        <td>
            [SLPVectorizer] Hang with phi nodes
        </td>
    </tr>

    <tr>
      <th>Labels</th>
      <td>
            slow-compile,
            llvm:SLPVectorizer
      </td>
    </tr>

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

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

<pre>
    This input is reduced to run for approximately one second: https://gist.github.com/nikic/dd7a20a6604e7ab3f4c9ebce8377c2c9

This is the original input, which hangs ~forever (I stopped waiting after a few minutes): https://gist.github.com/nikic/f12002e855c733cece331e9d4d2841f3
</pre>
<img width="1" height="1" alt="" src="http://email.email.llvm.org/o/eJyUks2O1DAQhJ_GubR25LTz50MOw65GIHFAAnF37E7S4NiR7eywHHh2tDNI_Nw4-VAq1VflNjnzEohG0b4R7VNljrLGNAb-yraaonsZP62cgcN-FOAMidxhyUGJkI4Ac0xg9j3Fb7yZQv4FYiDIZGNwQp1hLWXPQp0FXgReFs7ltHBZj-lk4ybwcssReHGuNyhN18mGejOpubGaJkuD6nuLVgt5FvJ8R8lQVoKYeOFg_B1N4CNcV7YrrCYsGX7MMdEzJRA4vINc4r6Tg6vhwmEBMxdKYGCmK2wcjkJZoP4f3rlGKZGGtrW9UpYsKVWTdo3DoalnVblROa20qWis-7ZrOtkhVuso69l0ra0JreutxEYPc1_PmoZeWqfqikeU2MoBtdSNavDUaa07PQ8GdTN1UopG0mbYn7x_3k4xLRXnfNBYt63WQ-XNRD7fvhMx-3h9sHHb2ZNAFPgoEF99Qp0_vv_wmWyJib9TehXbpyqNr-LDdCxZNNJzLvl3TOHib3fyt7N9grcmLHDlssK-MoToKFdH8uO_a_4x5A3i_jzsKX4hWwRebk2ywMuvMs8j_gwAAP__tQPX8w">