[PATCH] D157309: [ValueTracking] Do more thorough non-zero check in `isKnownToBePowerOfTwo` when `OrZero` is no set.

Noah Goldstein via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Mon Aug 7 11:49:45 PDT 2023


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

Rebase


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D157309

Files:
  llvm/lib/Analysis/ValueTracking.cpp
  llvm/test/Analysis/ValueTracking/known-power-of-two.ll
  llvm/test/Transforms/InstSimplify/ctpop-pow2.ll

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D157309.547892.patch
Type: text/x-patch
Size: 5953 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20230807/62aaf82d/attachment.bin>


More information about the llvm-commits mailing list