[X86][SSE] Split off shuffle mask canonicalization from lowerVectorShuffle. NFCI.
authorSimon Pilgrim <llvm-dev@redking.me.uk>
Thu, 4 Aug 2016 14:21:32 +0000 (14:21 +0000)
committerSimon Pilgrim <llvm-dev@redking.me.uk>
Thu, 4 Aug 2016 14:21:32 +0000 (14:21 +0000)
commitc2370b810de8537744d82ed947ca8afbaa683d0b
tree761dcc03dd9aa45abf70d3e72ce2e255bda4107b
parent7773c58458157a45df8252322da8a840dc12bfdd
[X86][SSE] Split off shuffle mask canonicalization from lowerVectorShuffle. NFCI.

The new function now returns true if the shuffle should be commuted.

This will allow target shuffle combines to share the code.

llvm-svn: 277728
llvm/lib/Target/X86/X86ISelLowering.cpp