[X86, AVX] Replace vinsertf128 intrinsics with generic shuffles.
authorSanjay Patel <spatel@rotateright.com>
Tue, 10 Mar 2015 15:19:26 +0000 (15:19 +0000)
committerSanjay Patel <spatel@rotateright.com>
Tue, 10 Mar 2015 15:19:26 +0000 (15:19 +0000)
commit7f6aa52e93eeff51a4a97921a5e7a2c6d27535ad
tree33d4fe29bb145838dd074af702f8e321ad9fc15a
parent4683395808cf9f4eca70275dd626334994f35330
[X86, AVX] Replace vinsertf128 intrinsics with generic shuffles.

We want to replace as much custom x86 shuffling via intrinsics
as possible because pushing the code down the generic shuffle
optimization path allows for better codegen and less complexity
in LLVM.

This is the sibling patch for the LLVM half of this change:
http://reviews.llvm.org/D8086

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

llvm-svn: 231792
clang/include/clang/Basic/BuiltinsX86.def
clang/lib/Headers/avxintrin.h
clang/lib/Sema/SemaChecking.cpp
clang/test/CodeGen/avx-shuffle-builtins.c
clang/test/CodeGen/builtins-x86.c