[llvm] [PatternMatch] Do not accept undef elements in m_AllOnes() and friends (PR #88217)

Nuno Lopes via llvm-commits llvm-commits at lists.llvm.org
Wed Apr 10 03:20:48 PDT 2024


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


More information about the llvm-commits mailing list