<table border="1" cellspacing="0" cellpadding="8">
    <tr>
        <th>Issue</th>
        <td>
            <a href=http://email.email.llvm.org/c/eJylUs2S2yAMfhp8YdZjg_84cEg2bU99gJ52sE0ctQQ8gNMmT1-ZpM5ujy0jjGRJnz6BejdeJWmKhxQHUuzUEh2NOkTCusUGmKweqSLslW4WYTv69uYxxsMQqVswVtyzSbu_KxTXlhBIve9IfSD8nffoPCJ1YCMFSviBFuhO6ivtVpWwPQps2PSxVjRAtJQEG-Y_Ia_hhH1Goc6aK60oRO1VBGdDwkj5WLBc86q1B0xSXtOLHqLzcNPjR3brbbzjp_D7CWVj_eTbHh7KxwfAuC9u7J2J1ID9kUp2pxjnQPjuznUahny6x-TOT_jnhvvbr1I14SIEUsyzUfJRcKEyfNCT89K7s7IvN220vUK2eCP_woR4Wvp8cGc0jLn8OV5m775jr2hCCIsOqNSc8S47yXKsayGY6JpSsZ41qtRjhzWPdcFFO4jMqF6bILElwpjVP2mCQB27yv6fAUhWMFaUZVs0Fa_KvG-rUXd80Lwd26MWpCr0WYHJV5z1qjIvE2S_TAGdBkIMT6cKaWB1IowMI0Sj5VesikPs5ghnuKXZQGN2Pi4W4hX5U7DIejY6PucixWWJsExsfwNYav-B>53238</a>
        </td>
    </tr>

    <tr>
        <th>Summary</th>
        <td>
            Missed optimization opportunity: incomplete vectorization
        </td>
    </tr>

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

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

    <tr>
      <th>Reporter</th>
      <td>
          roman-zelenyi
      </td>
    </tr>
</table>

<pre>
    ```
auto test(unsigned a, unsigned * __restrict out)
{
    unsigned s[8];
    for (int i = 0; i < 8; ++i)
        s[i] = i;

    for (int i = 0; i < 8; ++i)    // only 4 iterations (i = [1; 4]) are vectorized
        out[i] = a >> s[i];
}
```
[Godbolt link](https://gcc.godbolt.org/z/Yx1a6sv99).
</pre>
<img width="1px" height="1px" alt="" src="http://email.email.llvm.org/o/eJydUsGSmzAM_Rpz8SwDNsRw4JBsdnvqB_S0Y0BL1Do2Y5u0yddXOGmy2-N6BEjo6enJdu_Gc8c2xc2KPSu2eomORwiRiWaxAScLI9dMPPN7xMSWv715wngcIncLYdtrNVO7q8Np3QsCq3cNq_dMfsi-O09MDdrIkTO55wWlk_vMm9VlYkeGd25-WysbElsqwjvnl5hXOBOvZNxZc-YVxwheR3Q2JI5UTw3Lta5aZ6Ai7YGfYIjO4wXGz-rW3figT9P7heyu-qFX7W_O5wMg3Dc39s5EbtD-Si2bQ4xzYHJ71ToNQz5dMbnzE_250PPjT6k34dS2JDHPxk6OrWx1FjEa6L5jCHQSbo54xEsakILZ-bhYjGei5mgHd5wNxMdwCZct3nT_CcB4WPqc8BQYc_r3eZq9-0m1FFK_BQI5tRSyyQ6d6IdW66Ytq1GNQ6uUBCiV6ttS1LVqIDO6BxM6mp8JYeE3TxTk0xZk2IlCiKIsVbGpZFXmvapGaOQAUo3qHVpWFXDUaPJVx7orme-SpH6ZAiUNhhgeSR3S3YTUjvjp2h-c77w7avt0AQP2jFkS0KUB_gKrDOp0">