OSDN Git Service

[X86] Move code for using blendi for insert_subvector out to an isel pattern. This...
authorCraig Topper <craig.topper@gmail.com>
Sat, 11 Feb 2017 22:57:12 +0000 (22:57 +0000)
committerCraig Topper <craig.topper@gmail.com>
Sat, 11 Feb 2017 22:57:12 +0000 (22:57 +0000)
commitfe892ae26106c3d8d2b90b1464338b79652b555f
tree5ad7bedcebde69bb4e0b56c09eb9ed1d71faf2ee
parenta1a9b947dcb2da5e1b13cf38d1de76621fffa45a
[X86] Move code for using blendi for insert_subvector out to an isel pattern. This gives the DAG combiner more opportunity to optimize without needing to dig through the blend.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@294876 91177308-0d34-0410-b5e6-96231b3b80d8
lib/Target/X86/X86ISelLowering.cpp
lib/Target/X86/X86InstrSSE.td
test/CodeGen/X86/clear_upper_vector_element_bits.ll
test/CodeGen/X86/insertelement-zero.ll