[PATCH] D31290: [x86] use PMOVMSK to replace memcmp libcalls for 16-byte equality

Sanjay Patel via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Fri Mar 24 15:45:35 PDT 2017


spatel updated this revision to Diff 93019.
spatel marked 3 inline comments as done.
spatel added a comment.

Patch updated:

1. Added 32-bit target testing in https://reviews.llvm.org/rL298744
2. Don't use hasSSE2() in the x86 override - that won't work if we're in soft-float mode (nice catch!).
3. Add TODO comment to handle 64-bit type on x86 32-bit target.


https://reviews.llvm.org/D31290

Files:
  include/llvm/Target/TargetLowering.h
  lib/CodeGen/SelectionDAG/SelectionDAGBuilder.cpp
  lib/Target/X86/X86ISelLowering.cpp
  lib/Target/X86/X86ISelLowering.h
  test/CodeGen/X86/memcmp.ll

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D31290.93019.patch
Type: text/x-patch
Size: 8535 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20170324/227e7c50/attachment.bin>


More information about the llvm-commits mailing list