[PATCH] D141990: [InstCombine] Add transform ctpop(X) -> 1 iff X is non-zero power of 2

Noah Goldstein via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Wed Jan 18 09:21:32 PST 2023


goldstein.w.n updated this revision to Diff 490198.
goldstein.w.n added a comment.

new tests


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D141990

Files:
  llvm/lib/Transforms/InstCombine/InstCombineCalls.cpp
  llvm/test/Transforms/InstCombine/ctpop-pow2.ll

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D141990.490198.patch
Type: text/x-patch
Size: 5520 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20230118/9cc01e0d/attachment.bin>


More information about the llvm-commits mailing list