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 _______________________________________________ llvm-branch-commits mailing list [email protected] https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-branch-commits
