[libc-commits] [libc] 55509b1 - [libc] Fix broken tests on arm32

Guillaume Chatelet via libc-commits libc-commits at lists.llvm.org
Mon Oct 24 02:54:42 PDT 2022


Author: Guillaume Chatelet
Date: 2022-10-24T09:54:19Z
New Revision: 55509b1136ea839f7ff1e6b8a5820c4ad4265217

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

LOG: [libc] Fix broken tests on arm32

Added: 
    

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

Removed: 
    


################################################################################
diff  --git a/libc/test/src/string/memory_utils/op_tests.cpp b/libc/test/src/string/memory_utils/op_tests.cpp
index 1c2631adedea1..c41c1ae944503 100644
--- a/libc/test/src/string/memory_utils/op_tests.cpp
+++ b/libc/test/src/string/memory_utils/op_tests.cpp
@@ -276,7 +276,7 @@ using BcmpImplementations = testing::TypeList<
     x86::avx512bw::Bcmp<64>,  //
     x86::avx512bw::Bcmp<128>, //
 #endif
-#ifdef __ARM_NEON
+#ifdef LLVM_LIBC_ARCH_AARCH64
     aarch64::Bcmp<16>, //
     aarch64::Bcmp<32>, //
 #endif


        


More information about the libc-commits mailing list