[libc] Fix broken tests on arm32
authorGuillaume Chatelet <gchatelet@google.com>
Mon, 24 Oct 2022 09:54:19 +0000 (09:54 +0000)
committerGuillaume Chatelet <gchatelet@google.com>
Mon, 24 Oct 2022 09:54:19 +0000 (09:54 +0000)
libc/test/src/string/memory_utils/op_tests.cpp

index 1c2631a..c41c1ae 100644 (file)
@@ -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