https://github.com/nunoplopes approved this pull request. I think this is great, thank you! There have been cases of wrong optimizations because of the match of undef elements, so this should fix a few of such cases. https://github.com/llvm/llvm-project/pull/88217