[PATCH] D64859: [InstCombine] strncmp(x,y,strlen(x|y)+1) -> strcmp(x,y)

Dávid Bolvanský via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Wed Jul 17 04:46:26 PDT 2019


xbolva00 updated this revision to Diff 210292.
xbolva00 added a comment.

Added multi-use tests.


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

https://reviews.llvm.org/D64859

Files:
  include/llvm/Transforms/Utils/BuildLibCalls.h
  lib/Transforms/Utils/BuildLibCalls.cpp
  lib/Transforms/Utils/SimplifyLibCalls.cpp
  test/Transforms/InstCombine/strncmp-strlen.ll

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D64859.210292.patch
Type: text/x-patch
Size: 7226 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20190717/9681ff10/attachment.bin>


More information about the llvm-commits mailing list