[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
Mon Apr 4 07:25:42 PDT 2022


This revision was landed with ongoing or failed builds.
This revision was automatically updated to reflect the committed changes.
Closed by commit rG447a4485c566: [InstSimplify] Fold (ctpop(X) == N) || (X != 0) into X != 0 where N > 0 (authored by hkmatsumoto).

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.420177.patch
Type: text/x-patch
Size: 4782 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20220404/c25c2fee/attachment.bin>


More information about the llvm-commits mailing list