OSDN Git Service

[X86][SSE] Combine shuffles to ANY_EXTEND/ANY_EXTEND_VECTOR_INREG.
authorSimon Pilgrim <llvm-dev@redking.me.uk>
Wed, 19 Jun 2019 17:21:15 +0000 (17:21 +0000)
committerSimon Pilgrim <llvm-dev@redking.me.uk>
Wed, 19 Jun 2019 17:21:15 +0000 (17:21 +0000)
commita59d48c7656c4be34ca65cb2eaacd942483b750d
tree3788645e8cb7aa48b2e5bee809a7dedd625d3d51
parent35cce2d1def7f78f3a7c9a1a211173c66f95c3ca
[X86][SSE] Combine shuffles to ANY_EXTEND/ANY_EXTEND_VECTOR_INREG.

We already do this for ZERO_EXTEND/ZERO_EXTEND_VECTOR_INREG - this just extends the pattern matcher to recognize cases where we don't need the zeros in the extension.

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