OSDN Git Service

[X86][SSE] Pulled out splat detection helper from LowerScalarVariableShift (NFCI)
authorSimon Pilgrim <llvm-dev@redking.me.uk>
Wed, 30 May 2018 19:16:59 +0000 (19:16 +0000)
committerSimon Pilgrim <llvm-dev@redking.me.uk>
Wed, 30 May 2018 19:16:59 +0000 (19:16 +0000)
commit7432746a8b0c5d1be3cb9e7f93b3f3c40ddb489d
tree4ee5d3821a1778a7b3634591a9f16b78ebf8d9c1
parent80f62ff390cc9440ef48ccac94ea6f7f51da3b93
[X86][SSE] Pulled out splat detection helper from LowerScalarVariableShift (NFCI)

Created the IsSplatValue helper from the splat detection code in LowerScalarVariableShift as a first NFC step towards improving support for splat rotations, which is an extension of PR37426.

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