[PATCH] D150100: [KnownBits] Improve implementation of `KnownBits::abs`

Noah Goldstein via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Mon May 15 15:29:55 PDT 2023


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

Fill in the rest of the special cases + only use neg


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D150100

Files:
  llvm/lib/Support/KnownBits.cpp
  llvm/test/Analysis/ValueTracking/knownbits-abs.ll
  llvm/unittests/Support/KnownBitsTest.cpp

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D150100.522365.patch
Type: text/x-patch
Size: 5940 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20230515/8cf0cfcd/attachment.bin>


More information about the llvm-commits mailing list