Extended Description
This commit makes the frontend generate an error for this code because the last argument should be an integer constant expression
__m512i test_mm512_mask_shrdi_epi64(__m512i __S, __mmask8 __U, __m512i __A, __m512i __B, unsigned x) {
return _mm512_mask_shrdi_epi64(__S, __U, __A, __B, x);
}
Without this check in the frontend it goes to the backend and throws a fatal error in the backend during isel. The frontend error is a better user experience.
The _mm512_mask_shrdi_epi64 was introduced in late December 2017 so doesn't exist in any releases before 6.0