[PATCH] D60318: [ExpandMemCmp] Improve generated code for simple non-equality compares.

Clement Courbet via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Fri Apr 5 08:07:41 PDT 2019


courbet created this revision.
courbet added reviewers: spatel, sbenza.
Herald added a subscriber: hiraditya.
Herald added a project: LLVM.

Handles `memcmp() < 0`, `memcmp() <= 0` `memcmp() > 0` `memcmp() >= 0`.


Repository:
  rG LLVM Github Monorepo

https://reviews.llvm.org/D60318

Files:
  llvm/lib/CodeGen/ExpandMemCmp.cpp
  llvm/test/CodeGen/X86/memcmp.ll

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D60318.193879.patch
Type: text/x-patch
Size: 5587 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20190405/1458558d/attachment.bin>


More information about the llvm-commits mailing list