[avx] Add patterns for combining vextractf128 + vmovaps/vmovups/vmobdqu to
authorChad Rosier <mcrosier@apple.com>
Tue, 20 Mar 2012 21:43:40 +0000 (21:43 +0000)
committerChad Rosier <mcrosier@apple.com>
Tue, 20 Mar 2012 21:43:40 +0000 (21:43 +0000)
commit1b1fdc059968238af92a84bfa85f7b08093e8c32
treed7bb01d8d5c39701f5431411166a3d2596b4487b
parent48c9533181ec7ef24e49a4f5bca9151dc6886bad
[avx] Add patterns for combining vextractf128 + vmovaps/vmovups/vmobdqu to
vextractf128 with 128-bit mem dest.

Combines

vextractf128 $0, %ymm0, %xmm0
vmovaps %xmm0, (%rdi)

to

    vextractf128 $0, %ymm0, (%rdi)

rdar://11082570

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@153139 91177308-0d34-0410-b5e6-96231b3b80d8
lib/Target/X86/X86InstrSSE.td
test/CodeGen/X86/avx-vextractf128.ll