HomePhabricator

Lower _mm256_broadcastsi128_si256 directly to a vector shuffle.

Description

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.

Details

Committed
ributzkaMar 3 2015, 9:22 AM
Parents
rL231080: [SDK modernizer]. Patch fixes driver's lack of
Branches
Unknown
Tags
Unknown