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

Nikita Popov via cfe-commits cfe-commits at lists.llvm.org
Fri Oct 6 02:05:18 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 cfe-commits mailing list