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

Yingwei Zheng via llvm-commits llvm-commits at lists.llvm.org
Wed Apr 10 08:10:22 PDT 2024


https://github.com/dtcxzyw approved this pull request.

LGTM. BTW, can we drop the call to `Constant::replaceUndefsWith` in InstCombine after this patch lands?
See also https://github.com/llvm/llvm-project/pull/85772/files#r1530496643.

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


More information about the llvm-commits mailing list