]> granicus.if.org Git - llvm/commit
[X86] Break non-power of 2 vXi1 vectors into scalars for argument passing with avx512.
authorCraig Topper <craig.topper@intel.com>
Wed, 18 Sep 2019 06:06:11 +0000 (06:06 +0000)
committerCraig Topper <craig.topper@intel.com>
Wed, 18 Sep 2019 06:06:11 +0000 (06:06 +0000)
commit19ae26fe88ab001b70ccb3684665c54fa543b6a0
tree5ab012d03f235637239f3061372ac61ad0ac8e60
parent79df1b8cac3475e8b71f55c96fc2dfba0617e028
[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.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@372200 91177308-0d34-0410-b5e6-96231b3b80d8
lib/Target/X86/X86ISelLowering.cpp
test/CodeGen/X86/avx512-calling-conv.ll
test/CodeGen/X86/masked_gather_scatter.ll
test/CodeGen/X86/masked_store.ll