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:
e3e08ac
)
fix -Wunused-variable warning in Release mode
author
Kostya Serebryany
<kcc@google.com>
Tue, 29 Apr 2014 09:33:02 +0000
(09:33 +0000)
committer
Kostya Serebryany
<kcc@google.com>
Tue, 29 Apr 2014 09:33:02 +0000
(09:33 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@207514
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 5dc4095fbb9bc7ead29b77c26e98e90eb10cc818..5f27079a96dc6ac37e9230f3239e2dcbcd731947 100644
(file)
--- a/
lib/Transforms/Vectorize/LoopVectorize.cpp
+++ b/
lib/Transforms/Vectorize/LoopVectorize.cpp
@@
-5122,6
+5122,7
@@
LoopVectorizationCostModel::selectVectorizationFactor(bool OptForSize,
DEBUG(if (ForceVectorization && Width > 1 && Cost >= ScalarCost) dbgs()
<< "LV: Vectorization seems to be not beneficial, "
<< "but was forced by a user.\n");
+ (void)ScalarCost;
DEBUG(dbgs() << "LV: Selecting VF: "<< Width << ".\n");
Factor.Width = Width;
Factor.Cost = Width * Cost;