[PATCH] D122757: [InstSimplify] Fold (ctpop(X) == N) || (X != 0) into X != 0 where N > 0

Hirochika Matsumoto via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Sun Apr 3 06:14:29 PDT 2022


hkmatsumoto updated this revision to Diff 420042.
hkmatsumoto added a comment.

Sync with main branch


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D122757

Files:
  llvm/lib/Analysis/InstructionSimplify.cpp
  llvm/test/Transforms/InstSimplify/and-or-icmp-ctpop.ll

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D122757.420042.patch
Type: text/x-patch
Size: 4782 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20220403/cbd9105f/attachment.bin>


More information about the llvm-commits mailing list