[libc-commits] [PATCH] D115542: [libc] fix memcpy builtin looping
Michael Jones via Phabricator via libc-commits
libc-commits at lists.llvm.org
Thu Dec 16 13:54:52 PST 2021
This revision was automatically updated to reflect the committed changes.
Closed by commit rG467b5017e265: [libc] fix memcpy builtin looping (authored by michaelrj).
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D115542/new/
https://reviews.llvm.org/D115542
Files:
libc/src/string/memory_utils/elements.h
Index: libc/src/string/memory_utils/elements.h
===================================================================
--- libc/src/string/memory_utils/elements.h
+++ libc/src/string/memory_utils/elements.h
@@ -511,8 +511,6 @@
// __builtin_memcpy_inline guarantees to never call external functions.
// Unfortunately it is not widely available.
__builtin_memcpy_inline(dst, src, SIZE);
-#elif __has_builtin(__builtin_memcpy)
- __builtin_memcpy(dst, src, SIZE);
#else
for_loop_copy(dst, src);
#endif
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D115542.394988.patch
Type: text/x-patch
Size: 519 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/libc-commits/attachments/20211216/a87bed47/attachment.bin>
More information about the libc-commits
mailing list