forked from OSchip/llvm-project
LoopVectorize: Fix a C++11 incompatibility.
llvm-svn: 172990
This commit is contained in:
parent
4ab3c46874
commit
a6e2e2a0a7
|
@ -2714,7 +2714,7 @@ LoopVectorizationCostModel::selectVectorizationFactor(bool OptForSize,
|
|||
|
||||
DEBUG(dbgs() << "LV: Selecting VF = : "<< Width << ".\n");
|
||||
unsigned LoopCost = VF * Cost;
|
||||
return std::make_pair<unsigned, unsigned>(Width, LoopCost);
|
||||
return std::make_pair(Width, LoopCost);
|
||||
}
|
||||
|
||||
unsigned LoopVectorizationCostModel::getWidestType() {
|
||||
|
|
Loading…
Reference in New Issue