projects
/
platform
/
upstream
/
llvm.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
37a1efe
)
Enable the loop vectorizer in clang via -fvectorize
author
Nadav Rotem
<nrotem@apple.com>
Tue, 18 Dec 2012 23:10:16 +0000
(23:10 +0000)
committer
Nadav Rotem
<nrotem@apple.com>
Tue, 18 Dec 2012 23:10:16 +0000
(23:10 +0000)
llvm-svn: 170472
clang/lib/Driver/Tools.cpp
patch
|
blob
|
history
diff --git
a/clang/lib/Driver/Tools.cpp
b/clang/lib/Driver/Tools.cpp
index
eec3974
..
60abb15
100644
(file)
--- a/
clang/lib/Driver/Tools.cpp
+++ b/
clang/lib/Driver/Tools.cpp
@@
-2944,9
+2944,9
@@
void Clang::ConstructJob(Compilation &C, const JobAction &JA,
false))
CmdArgs.push_back("-fasm-blocks");
- // -f
no-
vectorize is default.
+ // -fvectorize is default.
if (Args.hasFlag(options::OPT_fvectorize,
- options::OPT_fno_vectorize,
fals
e)) {
+ options::OPT_fno_vectorize,
tru
e)) {
CmdArgs.push_back("-backend-option");
CmdArgs.push_back("-vectorize-loops");
}