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

    <tr>
        <th>Summary</th>
        <td>
            [Headers][X86] Allow AVX512 _mm512_set* intrinsics to be used in constexpr
        </td>
    </tr>

    <tr>
      <th>Labels</th>
      <td>
            good first issue,
            backend:X86,
            clang:headers
      </td>
    </tr>

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

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

<pre>
    Similar to #152173 - we need the AVX512F/BW/FP16 set intrinsics to be usable in constexpr:
```
_mm512_set1_pd
_mm512_set1_ps
_mm512_set1_epi8
_mm512_set1_epi16
_mm512_set1_epi32
_mm512_set1_epi64

_mm512_set4_pd
_mm512_set4_ps
_mm512_set4_epi32
_mm512_set4_epi64

_mm512_set_pd
_mm512_set_ps
_mm512_set_epi8
_mm512_set_epi16
_mm512_set_epi32
_mm512_set_epi64

_mm512_setr_pd
_mm512_setr_ps
_mm512_setr_epi8
_mm512_setr_epi16
_mm512_setr_epi32
_mm512_setr_epi64

_mm512_set1_ph
_mm512_set_ph
_mm512_setr_ph

_mm_setzero_ph
_mm256_setzero_ph
_mm512_setzero_ph
```
(ignore the mask/maskz variants for now)
</pre>
<img width="1" height="1" alt="" src="http://email.email.llvm.org/o/eJxsk0GL3CAUxz-NucgO-tRM5pBDtkMo9FK60O5tMPFNYtfooM5uu5--ZBh2tpmAIPzwvd9T_OuU7OARa6IeidoX-pzHEOsf357sFHzRBfO3frKTdTrSHCgBwRXwraAP9A2pRzQ0j0ibn8-KQ0ugffxFoG2_85ImzNT6HK1Ptk9zdYf0nHTnkFpP--BTxj-nSERDWENKdl2sOUyT4nBImPnhZJYgLQCebHWPeHnPBNyzUs7yz1gunXLplCvN5HqzZa9lq_vpV4Zf0a3b4lIXl754L4wrxriijOtOfjiNiyuOyxnGj6IZvGMMH4dAlXfsWnhjnz8HgcoOPkS8fLxJpxcC7by901cdrfY50WOI1Ic3ArvC1MLsxE4XWPOtknJb8ooVYy2MqgRuO6GPu95wsRVsZ8AA56CZUMfC1sBAsYqVnMFOso1mknHONOs1HA2XRDKctHUb516nTYhDYVM6Y80VQFUVTnfo0iVXAEMIhh5tTJleDhEAAl8IQKf7F_SGiOa5Kj9o77QfiGhG1AZjmrnaF7GeTQ_deUhEMmdTTjd3ttldUvz1WqP2RD3OTdWeNs6Ft2tI6e2BCTRrCUXzXz6Lc3T1mPMpzUm9hHyweTx3mz5MBNp5hOv2cIrhN_aZQHu5ZiLQXp_jtYZ_AQAA__8wumVu">