Lower _mm256_broadcastsi128_si256 directly to a vector shuffle.
Originally we were using the same GCC builtins to lower this AVX2 vector intrinsic. Instead we will now lower it directly to a vector shuffle. This will not only allow LLVM to generate better code, but it will also allow us to remove the GCC intrinsics. Reviewed by Andrea This is related to rdar://problem/18742778. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@231081 91177308-0d34-0410-b5e6-96231b3b80d8
Showing
- include/clang/Basic/BuiltinsX86.def 0 additions, 1 deletioninclude/clang/Basic/BuiltinsX86.def
- lib/CodeGen/CGBuiltin.cpp 0 additions, 7 deletionslib/CodeGen/CGBuiltin.cpp
- lib/Headers/avx2intrin.h 1 addition, 1 deletionlib/Headers/avx2intrin.h
- test/CodeGen/avx2-builtins.c 1 addition, 1 deletiontest/CodeGen/avx2-builtins.c
Loading
Please register or sign in to comment