[PATCH] D50222: [CodeGen] [SelectionDAG] More efficient code for X % C == 0 (UREM case)

Dávid Bolvanský via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Fri Jun 14 14:50:42 PDT 2019


xbolva00 updated this revision to Diff 204851.
xbolva00 added a comment.

Rebased. Moved to DAGCombiner and fixed regression in jump_sign.ll.


CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D50222/new/

https://reviews.llvm.org/D50222

Files:
  lib/CodeGen/SelectionDAG/DAGCombiner.cpp
  test/CodeGen/AArch64/urem-seteq-vec-splat.ll
  test/CodeGen/AArch64/urem-seteq.ll
  test/CodeGen/X86/jump_sign.ll
  test/CodeGen/X86/urem-seteq-vec-splat.ll
  test/CodeGen/X86/urem-seteq.ll

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D50222.204851.patch
Type: text/x-patch
Size: 30422 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20190614/de911823/attachment.bin>


More information about the llvm-commits mailing list