[libc-commits] [PATCH] D115542: [libc] fix memcpy builtin looping
Michael Jones via Phabricator via libc-commits
libc-commits at lists.llvm.org
Fri Dec 10 13:32:03 PST 2021
michaelrj updated this revision to Diff 393581.
michaelrj marked an inline comment as done.
michaelrj added a comment.
fix small bit I missed
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.393581.patch
Type: text/x-patch
Size: 519 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/libc-commits/attachments/20211210/3d1699a4/attachment.bin>
More information about the libc-commits
mailing list