[PATCH] D144606: [InstCombine] Add transforms for `(max/min (xor X, Pow2), X)` -> `(and/or X, Pow2/~Pow2)`
Noah Goldstein via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Fri Feb 24 13:22:50 PST 2023
This revision was landed with ongoing or failed builds.
This revision was automatically updated to reflect the committed changes.
Closed by commit rGf35e3fa53bb7: Add transforms for `(max/min (xor X, Pow2), X)` -> `(and/or X, Pow2/~Pow2)` (authored by goldstein.w.n).
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D144606/new/
https://reviews.llvm.org/D144606
Files:
llvm/lib/Transforms/InstCombine/InstCombineCalls.cpp
llvm/test/Transforms/InstCombine/minmax-of-xor-x.ll
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D144606.500288.patch
Type: text/x-patch
Size: 6439 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20230224/88245bb8/attachment.bin>
More information about the llvm-commits
mailing list