kuhar wrote: BTW, I forgot to add to the PR description that I plan to use it to remove most of the vector reduction to SPIR-V lowering patterns, only leaving the specialized ones that we can expand to vector dot product. https://github.com/llvm/llvm-project/pull/75727