[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 Feb 18 11:31:41 PST 2023
This revision was landed with ongoing or failed builds.
This revision was automatically updated to reflect the committed changes.
Closed by commit rG9a8f517f5750: [ValueTracking] Add KnownBits patterns `xor(x, x - 1)` and `and(x, -x)` for… (authored by goldstein.w.n).
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/InstCombine/ctpop-pow2.ll
llvm/test/Transforms/InstSimplify/ctpop-pow2.ll
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D142271.498605.patch
Type: text/x-patch
Size: 13873 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20230218/410f5885/attachment.bin>
More information about the llvm-commits
mailing list