[NFC][Analysis] Implement `getShuffleMaskWithWidestElts()` wrapper (+tests)
authorRoman Lebedev <lebedev.ri@gmail.com>
Sun, 25 Dec 2022 21:41:12 +0000 (00:41 +0300)
committerRoman Lebedev <lebedev.ri@gmail.com>
Sun, 25 Dec 2022 22:04:48 +0000 (01:04 +0300)
commitf487dfd830255f0b971c2c0596676f2717d6b60b
tree76c5744c2f7b1c2b230d4c97e53d71e73f050343
parent2999c45050f93c1d7753bf9c0f353f46cc90bbbb
[NFC][Analysis] Implement `getShuffleMaskWithWidestElts()` wrapper (+tests)

It will be needed in an upcoming patch to implement some shuffle combining.
llvm/include/llvm/Analysis/VectorUtils.h
llvm/lib/Analysis/VectorUtils.cpp
llvm/unittests/Analysis/VectorUtilsTest.cpp