[PATCH] D142271: [ValueTracking] Add KnownBits patterns `xor(x, x - 1)` and `and(x, -x)` for knowing upper bits to be zero
Noah Goldstein via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Sat Jan 21 00:24:52 PST 2023
goldstein.w.n updated this revision to Diff 491046.
goldstein.w.n added a comment.
Fix spellings / grammars
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D142271/new/
https://reviews.llvm.org/D142271
Files:
llvm/lib/Analysis/ValueTracking.cpp
llvm/test/Analysis/ValueTracking/knownbits-bmi-pattern.ll
llvm/test/Transforms/InstSimplify/ctpop-pow2.ll
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D142271.491046.patch
Type: text/x-patch
Size: 15458 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20230121/4b151c2c/attachment.bin>
More information about the llvm-commits
mailing list