]> granicus.if.org Git - llvm/commit
[X86][SSE] Propagate undef upper elements from scalar_to_vector during shuffle combining
authorSimon Pilgrim <llvm-dev@redking.me.uk>
Wed, 15 Feb 2017 17:41:33 +0000 (17:41 +0000)
committerSimon Pilgrim <llvm-dev@redking.me.uk>
Wed, 15 Feb 2017 17:41:33 +0000 (17:41 +0000)
commitbe2cd40ad4c8526747c47f01a3af1f9252535108
treedcde557af2836bf5c57f4eb97cb6e3b900e9b149
parentaae13371be3834f9c551f9cd2c2f58a4d5eca572
[X86][SSE] Propagate undef upper elements from scalar_to_vector during shuffle combining

Only do this for integer types currently - floats types (in particular insertps) load folding often fails with this.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@295208 91177308-0d34-0410-b5e6-96231b3b80d8
lib/Target/X86/X86ISelLowering.cpp
test/CodeGen/X86/shrink_vmul.ll
test/CodeGen/X86/vec_extract-mmx.ll
test/CodeGen/X86/vec_int_to_fp.ll
test/CodeGen/X86/vector-half-conversions.ll
test/CodeGen/X86/vector-sext.ll
test/CodeGen/X86/widen_conv-3.ll
test/CodeGen/X86/widen_conv-4.ll