[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:10:07 PDT 2019


xbolva00 added a comment.

>> where "c" doesn't appear in "src“ .....

StringRef’s find can find char behind ‘\0’  - so it seems we do not need a special case like at line 1138 now.


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

https://reviews.llvm.org/D68089





More information about the llvm-commits mailing list