The PMOVZXWD family of functions had patterns extends narrow vector types to wide...
authorNadav Rotem <nrotem@apple.com>
Sun, 16 Sep 2012 07:39:07 +0000 (07:39 +0000)
committerNadav Rotem <nrotem@apple.com>
Sun, 16 Sep 2012 07:39:07 +0000 (07:39 +0000)
commit638e4c13cb25e8ad1044c1d581fb387ec8d15033
treeb6e61b7c40456f0778feab86ac8529afa3011633
parent3c0e5c9ecedb00d3c36fb2747b642bd3e38d0260
The PMOVZXWD family of functions had patterns extends narrow vector types to wide vector types.
It had patterns for zext-loading and extending. This commit adds patterns for loading a wide type, performing a bitcast,
and extending. This is an odd pattern, but it is commonly used when writing code with intrinsics.

rdar://11897677

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@163995 91177308-0d34-0410-b5e6-96231b3b80d8
lib/Target/X86/X86InstrSSE.td
test/CodeGen/X86/pmovext.ll [new file with mode: 0644]