Skip to content
Snippets Groups Projects
Commit 8ed2f29f authored by Peter W. Draper's avatar Peter W. Draper
Browse files

Also disable slp vectorizations with clang/LLVM

parent efce34a0
No related branches found
No related tags found
2 merge requests!136Master,!108Autotools update
...@@ -235,8 +235,8 @@ if test "$enable_vec" = "no"; then ...@@ -235,8 +235,8 @@ if test "$enable_vec" = "no"; then
CFLAGS="$CFLAGS -fno-tree-vectorize" CFLAGS="$CFLAGS -fno-tree-vectorize"
AC_MSG_RESULT([disabled GCC vectorization]) AC_MSG_RESULT([disabled GCC vectorization])
elif test "$ax_cv_c_compiler_vendor" = "clang"; then elif test "$ax_cv_c_compiler_vendor" = "clang"; then
CFLAGS="$CFLAGS -fno-vectorize" CFLAGS="$CFLAGS -fno-vectorize -fno-slp-vectorize"
AC_MSG_RESULT([clang GCC vectorization]) AC_MSG_RESULT([disabled clang vectorization])
else else
AC_MSG_WARN([Do not know how to disable vectorization for this compiler]) AC_MSG_WARN([Do not know how to disable vectorization for this compiler])
fi fi
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment