[PATCH] D56593: [SelectionDAG][RFC] Allow the user to specify a memeq function (v5).

Clement Courbet via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Tue Feb 12 02:21:49 PST 2019


courbet updated this revision to Diff 186426.
courbet added a comment.

Add test to show that simplifylibcall composes (strcmp -> memcmp -> bcmp).


Repository:
  rL LLVM

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

https://reviews.llvm.org/D56593

Files:
  include/llvm/Transforms/Utils/BuildLibCalls.h
  lib/Analysis/TargetLibraryInfo.cpp
  lib/Transforms/Utils/BuildLibCalls.cpp
  lib/Transforms/Utils/SimplifyLibCalls.cpp
  test/CodeGen/X86/memcmp.ll
  test/Transforms/InferFunctionAttrs/annotate.ll
  test/Transforms/InstCombine/memcmp-1.ll
  test/Transforms/InstCombine/strcmp-1.ll

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D56593.186426.patch
Type: text/x-patch
Size: 13617 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20190212/f4f9c6ae/attachment.bin>


More information about the llvm-commits mailing list