From 791d88f35f93c3b728bc263ff8e9826852b828be Mon Sep 17 00:00:00 2001 From: Guillaume Chatelet Date: Fri, 20 Aug 2021 13:09:35 +0000 Subject: [PATCH] [libc] Align to 32B instead of 16B for optimized memcmp --- libc/src/string/memcmp.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libc/src/string/memcmp.cpp b/libc/src/string/memcmp.cpp index 2bb9552d9361..bb2b5e2f3779 100644 --- a/libc/src/string/memcmp.cpp +++ b/libc/src/string/memcmp.cpp @@ -39,7 +39,7 @@ static int memcmp_impl(const char *lhs, const char *rhs, size_t count) { return ThreeWayCompare>(lhs, rhs, count); if (count <= 128) return ThreeWayCompare>(lhs, rhs, count); - return ThreeWayCompare::Then>>(lhs, rhs, count); + return ThreeWayCompare::Then>>(lhs, rhs, count); } LLVM_LIBC_FUNCTION(int, memcmp,