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

Dmytro Shynkevych via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Tue Sep 25 06:33:10 PDT 2018


hermord updated this revision to Diff 166869.
hermord added a comment.

@lebedev.ri Sorry, couldn't find any instances of `4 x i16` in the nonsplat tests; I think I only had those in the splat ones. The patch no longer applied cleanly, so I rebased it again.


Repository:
  rL LLVM

https://reviews.llvm.org/D50222

Files:
  include/llvm/CodeGen/TargetLowering.h
  lib/CodeGen/SelectionDAG/TargetLowering.cpp
  test/CodeGen/AArch64/urem-seteq-optsize.ll
  test/CodeGen/AArch64/urem-seteq-vec-nonsplat.ll
  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-optsize.ll
  test/CodeGen/X86/urem-seteq-vec-nonsplat.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.166869.patch
Type: text/x-patch
Size: 61833 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20180925/d35089d3/attachment.bin>


More information about the llvm-commits mailing list