[PATCH] D129606: [DAGCombine] fold (urem x, (lshr pow2, y)) -> (and x, (add (lshr pow2, y), -1))
Philip Reames via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Wed Jul 13 08:35:27 PDT 2022
This revision was landed with ongoing or failed builds.
This revision was automatically updated to reflect the committed changes.
Closed by commit rGfd67992f9c4b: [DAGCombine] fold (urem x, (lshr pow2, y)) -> (and x, (add (lshr pow2, y), -1)) (authored by reames).
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D129606/new/
https://reviews.llvm.org/D129606
Files:
llvm/lib/CodeGen/SelectionDAG/DAGCombiner.cpp
llvm/test/CodeGen/X86/combine-urem.ll
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D129606.444277.patch
Type: text/x-patch
Size: 12417 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20220713/b57c1b57/attachment.bin>
More information about the llvm-commits
mailing list