[PATCH] D105013: [InstCombine] try to fold the expression "(A & ~B) + B" to "A | B"

Roman Lebedev via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Mon Jun 28 06:23:25 PDT 2021


lebedev.ri added a comment.

This pattern `(A & ~B) op B` should be matched in `llvm::haveNoCommonBitsSet()` in `ValueTracking.cpp`.


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

https://reviews.llvm.org/D105013



More information about the llvm-commits mailing list