LoopVectorize: Fix a C++11 incompatibility.

llvm-svn: 172990
This commit is contained in:
Benjamin Kramer 2013-01-20 20:29:52 +00:00
parent 4ab3c46874
commit a6e2e2a0a7
1 changed files with 1 additions and 1 deletions

View File

@ -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() {