]> granicus.if.org Git - clang/commit
[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)
commita283317accbab76cb811ffda01dcf0aecbc21e42
tree1e691460c73ec5fda3e55141dd40c7bc05569045
parent227727e5aee4a951d5d08ae8b97d806cecc29070
[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

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@231792 91177308-0d34-0410-b5e6-96231b3b80d8
include/clang/Basic/BuiltinsX86.def
lib/Headers/avxintrin.h
lib/Sema/SemaChecking.cpp
test/CodeGen/avx-shuffle-builtins.c
test/CodeGen/builtins-x86.c