[libc-commits] [libc] [libc] Remove unnecessary call in memfunction dispatchers (PR #75800)

Schrodinger ZHU Yifan via libc-commits libc-commits at lists.llvm.org
Mon Dec 18 06:44:38 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
----------------
SchrodingerZhu wrote:

does `[[flatten]]` work here?

https://github.com/llvm/llvm-project/pull/75800


More information about the libc-commits mailing list