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

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


This revision was automatically updated to reflect the committed changes.
Closed by commit rG47255834e720: [ValueTracking] A and (B & ~A) have no common bits set (authored by nikic).

Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D124763

Files:
  llvm/lib/Analysis/ValueTracking.cpp
  llvm/test/Transforms/InstCombine/add.ll

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D124763.426615.patch
Type: text/x-patch
Size: 6895 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20220503/4e51e612/attachment.bin>


More information about the llvm-commits mailing list