]> granicus.if.org Git - clang/commit
[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)
commit7bfb229128a4b4942fa63927e92fe8a7cfc362a9
tree280baf0e55f09d5c97a3a30916155be24b970bc0
parent085dbeb7bd2ae3d5a6f712a487ae258bb01d6fe2
[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.

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@352344 91177308-0d34-0410-b5e6-96231b3b80d8
lib/CodeGen/CGBuiltin.cpp
test/CodeGen/avx512f-builtins.c
test/CodeGen/avx512vbmi2-builtins.c
test/CodeGen/avx512vl-builtins.c
test/CodeGen/avx512vlvbmi2-builtins.c