Index: Bitcode/CMakeLists.txt =================================================================== --- Bitcode/CMakeLists.txt +++ Bitcode/CMakeLists.txt @@ -1,6 +1,6 @@ if(NOT TEST_SUITE_BENCHMARKING_ONLY) llvm_add_subdirectories(Regression) - if(ARCH STREQUAL "x86" OR ARCH STREQUAL "AArch64") + if(ARCH STREQUAL "x86" OR ARCH STREQUAL "AArch64" OR ARCH STREQUAL "ARM") llvm_add_subdirectories(simd_ops) endif() endif() Index: Bitcode/simd_ops/simd_ops.cpp =================================================================== --- Bitcode/simd_ops/simd_ops.cpp +++ Bitcode/simd_ops/simd_ops.cpp @@ -6,7 +6,7 @@ #define posix_memalign(p, a, s) (((*(p)) = _aligned_malloc((s), (a))), *(p) ?0 :errno) #endif -#if defined(__aarch64__) +#if defined(__aarch64__) || defined(__arm__) #define FACTOR 5 #else #define FACTOR 1