[PATCH] D68632: [X86] Make memcmp() use PTEST if possible and also enable AVX1

David Zarzycki via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Tue Oct 15 07:02:51 PDT 2019


davezarzycki updated this revision to Diff 225025.
davezarzycki added a comment.

Now using DAG.getAllOnesConstant()


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D68632

Files:
  lib/CodeGen/SelectionDAG/DAGCombiner.cpp
  lib/Target/X86/X86ISelLowering.cpp
  test/CodeGen/X86/memcmp-minsize.ll
  test/CodeGen/X86/memcmp-optsize.ll
  test/CodeGen/X86/memcmp.ll
  test/CodeGen/X86/setcc-wide-types.ll

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D68632.225025.patch
Type: text/x-patch
Size: 45438 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20191015/19b718de/attachment-0001.bin>


More information about the llvm-commits mailing list