[PATCH] D124763: [InstCombine] Fold A + (B & ~A) to A | B

Sanjay Patel via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Mon May 2 09:03:29 PDT 2022


spatel added a comment.

Do you see any advantage or disadvantage of treating these as part of `haveNoCommonBitsSet()`?
https://alive2.llvm.org/ce/z/FNtH4K
We should manage to get the logic reductions already if the 'add' was replaced by 'or'.


CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D124763/new/

https://reviews.llvm.org/D124763



More information about the llvm-commits mailing list