[PATCH] D30225: [LIR] re-enable generation of memmove with runtime checks
Krzysztof Parzyszek via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Mon Feb 27 12:41:43 PST 2017
kparzysz added a comment.
In https://reviews.llvm.org/D30225#683038, @efriedma wrote:
> Why are we generating a runtime check for memmove, as opposed to memcpy?
We can check for safety of memcpy: if the source and destination don't overlap, then it's safe to generate memcpy. On the other hand, when they do overlap, it is not always safe to generate memmove.
Repository:
rL LLVM
https://reviews.llvm.org/D30225
More information about the llvm-commits
mailing list