To complement getSplat. This is more general than the binary decomposition method as it also handles non-pow2 splat sizes. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@233195 91177308-0d34-0410-b5e6-96231b3b80d8