akroviakov wrote: It may be worth considering shifting the new pattern to `VectorDistribute.cpp` and requiring some `isUniform()` callback, not sure how useful it would be at the moment. https://github.com/llvm/llvm-project/pull/176737