[X86] Add new variadic avx512 compress/expand intrinsics that use vXi1 types for...
authorCraig Topper <craig.topper@intel.com>
Mon, 28 Jan 2019 07:03:10 +0000 (07:03 +0000)
committerCraig Topper <craig.topper@intel.com>
Mon, 28 Jan 2019 07:03:10 +0000 (07:03 +0000)
commit07b6d3de1b7aefa3f2cb9c8cdc8b2db0a8b7f3fc
tree8d21ad44bb9d8eff85592539909df1791b1970a1
parent453150bc18d74c2ebbef8f780b3b9d2e6278a529
[X86] Add new variadic avx512 compress/expand intrinsics that use vXi1 types for the mask argument.

Custom lower the builtins to these intrinsics. This enables the middle end to optimize out bitcasts for the masks.

llvm-svn: 352344
clang/lib/CodeGen/CGBuiltin.cpp
clang/test/CodeGen/avx512f-builtins.c
clang/test/CodeGen/avx512vbmi2-builtins.c
clang/test/CodeGen/avx512vl-builtins.c
clang/test/CodeGen/avx512vlvbmi2-builtins.c