[X86] Replace avx2 broadcast intrinsics with native IR.
authorAhmed Bougacha <ahmed.bougacha@gmail.com>
Thu, 20 Aug 2015 20:36:19 +0000 (20:36 +0000)
committerAhmed Bougacha <ahmed.bougacha@gmail.com>
Thu, 20 Aug 2015 20:36:19 +0000 (20:36 +0000)
commitad0ddd8e0190ef7ebb162921e53115f9d969f939
tree5cd7e87999c0e37fd3f478e53e6c82bdada3ed19
parentdc4b9efc0f2bd1c8e6a92c9d8b5c63cc95659689
[X86] Replace avx2 broadcast intrinsics with native IR.

Since r245605, the clang headers don't use these anymore.
r245165 updated some of the tests already; update the others, add
an autoupgrade, remove the intrinsics, and cleanup the definitions.

Differential Revision: http://reviews.llvm.org/D10555

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@245606 91177308-0d34-0410-b5e6-96231b3b80d8
include/llvm/IR/IntrinsicsX86.td
lib/IR/AutoUpgrade.cpp
lib/Target/X86/X86InstrSSE.td
test/CodeGen/X86/avx2-intrinsics-x86-upgrade.ll
test/CodeGen/X86/avx2-intrinsics-x86.ll
test/CodeGen/X86/stack-folding-int-avx2.ll