[LLVMbugs] [Bug 16716] char-copying loop should optimize to memcpy
bugzilla-daemon at llvm.org
bugzilla-daemon at llvm.org
Sat Jul 27 08:59:51 PDT 2013
http://llvm.org/bugs/show_bug.cgi?id=16716
Chris Lattner <clattner at apple.com> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|NEW |RESOLVED
Resolution|--- |INVALID
--- Comment #1 from Chris Lattner <clattner at apple.com> ---
That function isn't necessarily a memcpy, or even a memmove. Consider the
behavior of:
char x[100] = { 'a', 0 };
my_memcpy(x+1, x, 99);
--
You are receiving this mail because:
You are on the CC list for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-bugs/attachments/20130727/844714f7/attachment.html>
More information about the llvm-bugs
mailing list