[PATCH] D149421: [KnownBits] Improve `KnownBits::rem(X, Y)` in cases where we can deduce low-bits of output

Noah Goldstein via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Fri May 5 08:50:25 PDT 2023


goldstein.w.n updated this revision to Diff 519883.
goldstein.w.n marked an inline comment as done.
goldstein.w.n added a comment.

Also use for low-zeros


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D149421

Files:
  llvm/include/llvm/Support/KnownBits.h
  llvm/lib/Support/KnownBits.cpp
  llvm/test/Analysis/ValueTracking/knownbits-rem-lowbits.ll
  llvm/test/Transforms/LoopVectorize/AArch64/masked-call.ll

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D149421.519883.patch
Type: text/x-patch
Size: 8890 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20230505/3b93e8a2/attachment-0001.bin>


More information about the llvm-commits mailing list