Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
SWIFT
SWIFTsim
Commits
8ed2f29f
Commit
8ed2f29f
authored
Mar 07, 2016
by
Peter W. Draper
Browse files
Also disable slp vectorizations with clang/LLVM
parent
efce34a0
Changes
1
Hide whitespace changes
Inline
Side-by-side
configure.ac
View file @
8ed2f29f
...
...
@@ -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
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment