[llvm] [InstCombine] Canonicalize `(X +/- Y) & Y` into `~X & Y` when Y is a power of 2 (PR #67915)

Nikita Popov via llvm-commits llvm-commits at lists.llvm.org
Fri Oct 6 02:05:17 PDT 2023


https://github.com/nikic commented:

Seems like some test coverage is missing here?
 * Commuted add
 * Commuted sub (negative test)
 * Commuted and
 * Multi-use add (negative test)

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


More information about the llvm-commits mailing list