OSDN Git Service

[X86][SSE] Improve shuffle combining of PACKSS instructions.
authorSimon Pilgrim <llvm-dev@redking.me.uk>
Sun, 1 Oct 2017 17:54:55 +0000 (17:54 +0000)
committerSimon Pilgrim <llvm-dev@redking.me.uk>
Sun, 1 Oct 2017 17:54:55 +0000 (17:54 +0000)
commit62a43ff365b766a30c0bc6dcac079a7988a55488
tree35286ea5c783d62434da3e6aa70634780c456930
parent7ea96b317587f4e1b016fc55d262d5ee6554c1e6
[X86][SSE] Improve shuffle combining of PACKSS instructions.

Support unary packing and fix the faux shuffle mask for vectors larger than 128 bits.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@314629 91177308-0d34-0410-b5e6-96231b3b80d8
lib/Target/X86/X86ISelLowering.cpp
test/CodeGen/X86/vector-shuffle-combining-avx2.ll
test/CodeGen/X86/vector-shuffle-combining-ssse3.ll