Move all SHUFP* patterns close to the SHUFP* definitions. Also be
authorBruno Cardoso Lopes <bruno.cardoso@gmail.com>
Wed, 24 Aug 2011 23:17:55 +0000 (23:17 +0000)
committerBruno Cardoso Lopes <bruno.cardoso@gmail.com>
Wed, 24 Aug 2011 23:17:55 +0000 (23:17 +0000)
commitaf002d840543b5a6c9ec3a1a5c095e08156af454
tree9ee4924019be2143505e4074501afd68f531ac70
parentf44082091c5517a3275c57a8b58e36987c8227f0
Move all SHUFP* patterns close to the SHUFP* definitions. Also be
explicit about which subtarget they refer to, and add AVX versions of
the ones we currently don't. Make the mask check more strict, to be
clear it won't be used to match to 256-bit versions!

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@138514 91177308-0d34-0410-b5e6-96231b3b80d8
lib/Target/X86/X86ISelLowering.cpp
lib/Target/X86/X86InstrSSE.td