[X86][SSE] Pulled out repeated target shuffle decodes into helper functions. NFCI.
authorSimon Pilgrim <llvm-dev@redking.me.uk>
Sun, 7 Feb 2016 14:33:03 +0000 (14:33 +0000)
committerSimon Pilgrim <llvm-dev@redking.me.uk>
Sun, 7 Feb 2016 14:33:03 +0000 (14:33 +0000)
commit73fc26b44a8591b15f13eaffef17e67161c69388
tree0c5950949adb76cb1f0ff14159cb79e9084a921d
parente708790c5952f9b2f5eaccbedcdb9c883eb8ea5b
[X86][SSE] Pulled out repeated target shuffle decodes into helper functions. NFCI.

Pulled out the code used by PSHUFB/VPERMV/VPERMV3 shuffle mask decoding into common helper functions.

The helper functions handle masks coming from BROADCAST/BUILD_VECTOR and ConstantPool nodes respectively.

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