[PATCH] D86815: [LangRef] Remove non-overlapping guarantee from memcpy.
Florian Hahn via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Fri Aug 28 13:43:32 PDT 2020
fhahn created this revision.
Herald added subscribers: danielkiss, asbirlea, jfb, george.burgess.iv, hiraditya.
Herald added a reviewer: jdoerfert.
Herald added a project: LLVM.
fhahn requested review of this revision.
This adjusts the description of `llvm.memcpy` to not guarantee that the
pointer operands do not overlap. This is in line with what Clang
currently expects.
This change is intended to be temporary and followed by re-introduce
a variant with the non-overlapping guarantee for cases where we can
actually ensure that property in the front-end.
See the links below for more details:
http://lists.llvm.org/pipermail/cfe-dev/2020-August/066614.html
and PR11763.
Repository:
rG LLVM Github Monorepo
https://reviews.llvm.org/D86815
Files:
llvm/docs/LangRef.rst
llvm/lib/Analysis/BasicAliasAnalysis.cpp
llvm/test/Analysis/BasicAA/assume.ll
llvm/test/Analysis/BasicAA/cs-cs.ll
llvm/test/Analysis/BasicAA/guards.ll
llvm/test/Analysis/MemorySSA/basicaa-memcpy.ll
llvm/test/Transforms/DeadStoreElimination/MSSA/memset-and-memcpy.ll
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D86815.288697.patch
Type: text/x-patch
Size: 15079 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20200828/ad1633fc/attachment-0001.bin>
More information about the llvm-commits
mailing list