SuccessChanges

Summary

  1. [X86] Break non-power of 2 vXi1 vectors into scalars for argument passing with avx512. This generates worse code, but matches what is done for avx2 and prevents crashes when more arguments are passed than we have registers for.
  2. [X86] Add test case for passing a v17i1 vector with avx512
Revision 372200 by ctopper:
[X86] Break non-power of 2 vXi1 vectors into scalars for argument passing with avx512.

This generates worse code, but matches what is done for avx2 and
prevents crashes when more arguments are passed than we have
registers for.
Change TypePath in RepositoryPath in Workspace
The file was modified/llvm/trunk/lib/Target/X86/X86ISelLowering.cpp (diff)llvm.src/lib/Target/X86/X86ISelLowering.cpp
The file was modified/llvm/trunk/test/CodeGen/X86/avx512-calling-conv.ll (diff)llvm.src/test/CodeGen/X86/avx512-calling-conv.ll
The file was modified/llvm/trunk/test/CodeGen/X86/masked_gather_scatter.ll (diff)llvm.src/test/CodeGen/X86/masked_gather_scatter.ll
The file was modified/llvm/trunk/test/CodeGen/X86/masked_store.ll (diff)llvm.src/test/CodeGen/X86/masked_store.ll
Revision 372199 by ctopper:
[X86] Add test case for passing a v17i1 vector with avx512
Change TypePath in RepositoryPath in Workspace
The file was modified/llvm/trunk/test/CodeGen/X86/avx512-calling-conv.ll (diff)llvm.src/test/CodeGen/X86/avx512-calling-conv.ll