[libc-commits] [libc] [libc] Remove unnecessary call in memfunction dispatchers (PR #75800)
Guillaume Chatelet via libc-commits
libc-commits at lists.llvm.org
Mon Dec 18 07:28:43 PST 2023
================
@@ -33,7 +33,8 @@
namespace LIBC_NAMESPACE {
-LIBC_INLINE int inline_memcmp(const void *p1, const void *p2, size_t count) {
+__attribute__((flatten)) LIBC_INLINE int
----------------
gchatelet wrote:
Yes it seems to be working.
`flatten` is not one of the [standardized attributes](https://en.cppreference.com/w/cpp/language/attributes) so it needs to be prefixed.
https://github.com/llvm/llvm-project/pull/75800
More information about the libc-commits
mailing list