[PATCH] D68089: [InstCombine] Optimize some memccpy calls to memcpy/null

Dávid Bolvanský via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Thu Sep 26 17:33:04 PDT 2019


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

Use Str.size() instead of GetStringLength


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

https://reviews.llvm.org/D68089

Files:
  include/llvm/Transforms/Utils/SimplifyLibCalls.h
  lib/Transforms/Utils/SimplifyLibCalls.cpp
  test/Transforms/InstCombine/memccpy.ll

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D68089.222061.patch
Type: text/x-patch
Size: 11618 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20190927/b1fd8877/attachment.bin>


More information about the llvm-commits mailing list