[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
Tue Jul 12 18:38:23 PDT 2022


reames updated this revision to Diff 444134.
reames added a comment.

Address review comments


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.444134.patch
Type: text/x-patch
Size: 12417 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20220713/dc14f89d/attachment.bin>


More information about the llvm-commits mailing list