Now that we have a canonical way to handle 256-bit splats:
authorBruno Cardoso Lopes <bruno.cardoso@gmail.com>
Wed, 17 Aug 2011 02:29:10 +0000 (02:29 +0000)
committerBruno Cardoso Lopes <bruno.cardoso@gmail.com>
Wed, 17 Aug 2011 02:29:10 +0000 (02:29 +0000)
commitfc0a7021282a447f4ea2f60e2249da5cdca8d2c3
tree3c03633cef73d08a233474e11d79b76460483434
parent23e9ef994ee390060e0630e8b4db85abe4e671fd
Now that we have a canonical way to handle 256-bit splats:
vinsertf128 $1 + vpermilps $0, remove the old code that used to first
do the splat in a 128-bit vector and then insert it into a larger one.
This is better because the handling code gets simpler and also makes a
better room for the upcoming vbroadcast!

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@137807 91177308-0d34-0410-b5e6-96231b3b80d8
lib/Target/X86/X86ISelLowering.cpp
test/CodeGen/X86/avx-splat.ll