[libc-commits] [libc] f6f53e9 - [libc] Disable use of inlined builtins for tests

Guillaume Chatelet via libc-commits libc-commits at lists.llvm.org
Tue Jun 28 03:17:55 PDT 2022


Author: Guillaume Chatelet
Date: 2022-06-28T10:17:46Z
New Revision: f6f53e990d0ed3ec2162c6f4f7afab2e433eec63

URL: https://github.com/llvm/llvm-project/commit/f6f53e990d0ed3ec2162c6f4f7afab2e433eec63
DIFF: https://github.com/llvm/llvm-project/commit/f6f53e990d0ed3ec2162c6f4f7afab2e433eec63.diff

LOG: [libc] Disable use of inlined builtins for tests

Added: 
    

Modified: 
    libc/test/src/string/memory_utils/algorithm_test.cpp

Removed: 
    


################################################################################
diff  --git a/libc/test/src/string/memory_utils/algorithm_test.cpp b/libc/test/src/string/memory_utils/algorithm_test.cpp
index e4fd3e3712ccd..3c6303a64ec3b 100644
--- a/libc/test/src/string/memory_utils/algorithm_test.cpp
+++ b/libc/test/src/string/memory_utils/algorithm_test.cpp
@@ -1,5 +1,5 @@
-
 #define LLVM_LIBC_USE_BUILTIN_MEMCPY_INLINE 0
+#define LLVM_LIBC_USE_BUILTIN_MEMSET_INLINE 0
 
 #include "utils/UnitTest/Test.h"
 #include <src/__support/CPP/Array.h>
@@ -168,6 +168,7 @@ LdU<8> b[8]
 StU<8> a[8]
 )"));
 }
+
 ///////////////////////////////////////////////////////////////////////////////
 // Move
 


        


More information about the libc-commits mailing list