mirror of
https://github.com/RPCSX/llvm.git
synced 2024-11-29 14:40:25 +00:00
fix -Wunused-variable warning in Release mode
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@207514 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
e3e08acd09
commit
0f99bc0606
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user