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

    <tr>
        <th>Summary</th>
        <td>
            What attributes can be added to libc++ algorithms to help the auto-vectorizer
        </td>
    </tr>

    <tr>
      <th>Labels</th>
      <td>
            libc++
      </td>
    </tr>

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

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

<pre>
    Can adding attributes to libc++ algorithms to help the auto-vectorizer? e.g.,
- __restrict
- __builtin_assume_aligned

@fhahn suggested parallel stl can also use some attributes https://libcxx.llvm.org/Status/PSTL.html.
</pre>
<img width="1px" height="1px" alt="" src="http://email.email.llvm.org/o/eJyckT2P3CAQhn8NbtBaeGyv7YLiPuQqRaSLlHI1mFlDhJcVDKu7_PrId0n20qYBiRGj930ezNmvFyIt-kfRP1dY2MWknU9oPb9hZaJ90094kWitv6wSmZM3hSlLjjJ4swh4FPAoMawxeXbb-8BRuEp2JLFwPNxo4Zj8T0qinSXVay3gSahnoR4O8nRKlDn5he8vpvjA_nLCnMtGJwx7SPsx_3126uzQXWQu60qZycorJgyBgswc5LJHDjnKkknmuNHn5I75mkX7IGAWMO8lXl_rEG5bHdMqYH5h5JIFzF9fvn2pHW-hrqxu7dROWJFuhmacQMHQV07TGUwHzXRsVTuMfXM2dlSKjnhW42jOtvIaFHTqCAqavmn6euiGqe2wN9M4LgOi6BRt6MPfBJXPuZCejtA1VUBDIb_7AbjzFgC7r6T3TwdT1iw6FXzmfF_DngPp7w75c_mdjKHdJ9n_cliVFPS_CFfPrph6idvOM9z-XIdrij9oYQHze6ed6Uetm4ZfAQAA__-5jtB9">