AVX-512: Added i1 type handling for calling conventions.
authorElena Demikhovsky <elena.demikhovsky@intel.com>
Thu, 14 May 2015 09:04:45 +0000 (09:04 +0000)
committerElena Demikhovsky <elena.demikhovsky@intel.com>
Thu, 14 May 2015 09:04:45 +0000 (09:04 +0000)
commit2fa91afc4677766e7c29d1784bc5575e9cb791ac
treeed3f76ce7acd9403f9ca815fa300d4262d10c078
parentf8ca9784172f263173119f09586815d13113b546
AVX-512: Added i1 type handling for calling conventions.
i1 type is a legal type on AVX-512 and can be passed as parameter or return value.
i1 is promoted to i8 on return and to i32 for call arguments (i8 is also promoted to i32 here).
The result code is similar to the previous X86 targets, where i1 is allways promoted to i8.

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