[PATCH] D65737: [InstCombine] mempcpy(d,s,n) to memcpy(d,s,n) + n

Dávid Bolvanský via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Sat Aug 17 03:54:58 PDT 2019


xbolva00 added a comment.

As side note, there are a few cases in real word code
https://codesearch.isocpp.org/cgi-bin/cgi_ppsearch?q=mempcpy&search=Search

where mempcpy return value is not used.. so it is pessiimization to use mempcpy instead of memcpy..


Repository:
  rL LLVM

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

https://reviews.llvm.org/D65737





More information about the llvm-commits mailing list