[X86] Add missing check for 'isINSERTPSMask' in method 'isShuffleMaskLegal'.
authorAndrea Di Biagio <Andrea_DiBiagio@sn.scee.net>
Tue, 11 Nov 2014 11:20:31 +0000 (11:20 +0000)
committerAndrea Di Biagio <Andrea_DiBiagio@sn.scee.net>
Tue, 11 Nov 2014 11:20:31 +0000 (11:20 +0000)
commitd6548ad0139fc2e70bb40a12442da1ab9bbf7519
tree308d78c12caeb9ca25407e0d63409457f8c57adc
parentd3da72c5b3aabd493d504432a181f144be74e9e4
[X86] Add missing check for 'isINSERTPSMask' in method 'isShuffleMaskLegal'.

This helps the DAGCombiner to identify more opportunities to fold shuffles.

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