projects
/
oota-llvm.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
0b198ca
)
LoopVectorizer cost model. Honor the user command line flag that selects the vectoriz...
author
Nadav Rotem
<nrotem@apple.com>
Tue, 15 Jan 2013 18:25:16 +0000
(18:25 +0000)
committer
Nadav Rotem
<nrotem@apple.com>
Tue, 15 Jan 2013 18:25:16 +0000
(18:25 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@172544
91177308
-0d34-0410-b5e6-
96231b3b80d8
lib/Transforms/Vectorize/LoopVectorize.cpp
patch
|
blob
|
history
diff --git
a/lib/Transforms/Vectorize/LoopVectorize.cpp
b/lib/Transforms/Vectorize/LoopVectorize.cpp
index 464ed97506f1de58b77761ded6bbb2083057bc99..bc8e1217beacd2ff1c88e868c59c091cd874792c 100644
(file)
--- a/
lib/Transforms/Vectorize/LoopVectorize.cpp
+++ b/
lib/Transforms/Vectorize/LoopVectorize.cpp
@@
-2633,7
+2633,7
@@
LoopVectorizationCostModel::selectVectorizationFactor(bool OptForSize,
if (MaxVectorSize == 0) {
DEBUG(dbgs() << "LV: The target has no vector registers.\n");
-
return
1;
+
MaxVectorSize =
1;
}
assert(MaxVectorSize <= 32 && "Did not expect to pack so many elements"