[PATCH] D86815: [LangRef] Remove non-overlapping guarantee from memcpy.
Dávid Bolvanský via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Sat Aug 29 01:33:25 PDT 2020
xbolva00 added a comment.
In D86815#2245467 <https://reviews.llvm.org/D86815#2245467>, @arsenm wrote:
> In D86815#2245466 <https://reviews.llvm.org/D86815#2245466>, @arsenm wrote:
>
>> Why would we change this? What's the point of having separate memcpy and memmove intrinsics?
>
> I'm reading this as clang mis-uses llvm.memcpy when it probably should be using llvm.memmove
Can we detect overlap on frontend? And emit memmove in this case..
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D86815/new/
https://reviews.llvm.org/D86815
More information about the llvm-commits
mailing list