[x86] Refactor the logic to form SHUFPS instruction patterns to lower
authorChandler Carruth <chandlerc@gmail.com>
Sun, 21 Sep 2014 13:03:00 +0000 (13:03 +0000)
committerChandler Carruth <chandlerc@gmail.com>
Sun, 21 Sep 2014 13:03:00 +0000 (13:03 +0000)
commit38e181630abe753d203c1be3941d510914c73088
tree6d768b49ef2a715b6b45197cfd8a84b596d91532
parent1a5f7f54f4d817af3f38a1a07cc89c108eb2c295
[x86] Refactor the logic to form SHUFPS instruction patterns to lower
a generic vector shuffle mask into a helper that isn't specific to the
other things that influence which choice is made or the specific types
used with the instruction.

No functionality changed.

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