https://bugs.llvm.org/show_bug.cgi?id=35915
Bug ID: 35915
Summary: Merge clang r322246 into 6.0 branch: [X86] Fix vpshrd
builtins to require an ICE for their constant argument
to match vpshld.
Product: libraries
Version: 6.0
Hardware: PC
OS: Windows NT
Status: NEW
Severity: enhancement
Priority: P
Component: Backend: X86
Assignee: unassignedb...@nondot.org
Reporter: craig.top...@gmail.com
CC: llvm-bugs@lists.llvm.org
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
--
You are receiving this mail because:
You are on the CC list for the bug.
_______________________________________________
llvm-bugs mailing list
llvm-bugs@lists.llvm.org
http://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-bugs