[X86][SSE] Generalised unpckl/unpckh shuffle matching
authorSimon Pilgrim <llvm-dev@redking.me.uk>
Tue, 17 Feb 2015 22:24:32 +0000 (22:24 +0000)
committerSimon Pilgrim <llvm-dev@redking.me.uk>
Tue, 17 Feb 2015 22:24:32 +0000 (22:24 +0000)
commitcbc2ca5ec9a5be00532b2fd973aa7482019af838
tree4379dfa113a39fcc03718e6fc425141e31e6c7ce
parent0be02ef5b1eeb1dd2e8adc1bcbeb4183d4b7304e
[X86][SSE] Generalised unpckl/unpckh shuffle matching

Added commuted unpckl/unpckh shuffle matching patterns as many cases containing undefined lanes fail to commute by themselves.

Differential Revision: http://reviews.llvm.org/D7564

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@229571 91177308-0d34-0410-b5e6-96231b3b80d8
lib/Target/X86/X86ISelLowering.cpp
test/CodeGen/X86/vector-shuffle-128-v4.ll
test/CodeGen/X86/vector-shuffle-256-v4.ll
test/CodeGen/X86/vector-shuffle-256-v8.ll