[X86][SSE] createVariablePermute - move index vector canonicalization to top of funct...
authorSimon Pilgrim <llvm-dev@redking.me.uk>
Fri, 9 Mar 2018 15:48:56 +0000 (15:48 +0000)
committerSimon Pilgrim <llvm-dev@redking.me.uk>
Fri, 9 Mar 2018 15:48:56 +0000 (15:48 +0000)
commit322c521ed7bc67d0f173c7f67a7ebe25e29fc9c6
tree138ef2d8f8c2a7e89d3ac82e9a3df3b3d6a86524
parent2a7053128c3338e05c4b35b18e1dbfbf9bd078d2
[X86][SSE] createVariablePermute - move index vector canonicalization to top of function. NFCI.

This is to make it easier to return early from the switch statement with custom lowering.

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