Commit 8ed2f29f authored by Peter W. Draper's avatar Peter W. Draper
Browse files

Also disable slp vectorizations with clang/LLVM

parent efce34a0
......@@ -235,8 +235,8 @@ if test "$enable_vec" = "no"; then
CFLAGS="$CFLAGS -fno-tree-vectorize"
AC_MSG_RESULT([disabled GCC vectorization])
elif test "$ax_cv_c_compiler_vendor" = "clang"; then
CFLAGS="$CFLAGS -fno-vectorize"
AC_MSG_RESULT([clang GCC vectorization])
CFLAGS="$CFLAGS -fno-vectorize -fno-slp-vectorize"
AC_MSG_RESULT([disabled clang vectorization])
else
AC_MSG_WARN([Do not know how to disable vectorization for this compiler])
fi
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment