[llvm-branch-commits] [llvm] [PatternMatch] match splats from an all-zeroes shufflevector (PR #226190)

Graham Hunter via llvm-branch-commits llvm-branch-commits at lists.llvm.org
Fri Sep 25 06:14:10 PDT 2026


huntergr-arm wrote:

> This looks fine to me, but can you add some tests for this to `llvm/unittests/IR/PatternMatch.cpp` ?

Done. I guess those tests show a few more potential cases of splats to match in future if needed (like repeated insertelements for different elements).

https://github.com/llvm/llvm-project/pull/226190


More information about the llvm-branch-commits mailing list