[PATCH] D142429: [InstCombine] Use `computeKnownBits` in `SimplifyDemandedUseBits` for and/xor/or

Noah Goldstein via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Tue Jan 24 02:54:28 PST 2023


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

Use helper instead of computeknownbits


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D142429

Files:
  llvm/lib/Transforms/InstCombine/InstCombineSimplifyDemanded.cpp
  llvm/test/Analysis/ValueTracking/knownbits-and-or-xor-lowbit.ll
  llvm/test/Analysis/ValueTracking/knownbits-bmi-pattern.ll
  llvm/test/Transforms/InstCombine/and-or-xor-lowbit-simplified.ll
  llvm/test/Transforms/InstCombine/ctpop-pow2.ll

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D142429.491684.patch
Type: text/x-patch
Size: 14601 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20230124/caceec88/attachment.bin>


More information about the llvm-commits mailing list