[PATCH] D124772: [DAGCombine] Fold A + (B & ~A) to A | B

Nikita Popov via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Tue May 3 03:33:24 PDT 2022


nikic updated this revision to Diff 426630.
nikic added a comment.

Implement in haveNoCommonBitsSet().


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

https://reviews.llvm.org/D124772

Files:
  llvm/lib/CodeGen/SelectionDAG/SelectionDAG.cpp
  llvm/test/CodeGen/X86/add-and-not.ll

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D124772.426630.patch
Type: text/x-patch
Size: 3898 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20220503/71f43f20/attachment-0001.bin>


More information about the llvm-commits mailing list