LoopVectorize: Fix a C++11 incompatibility.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@172990 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
Benjamin Kramer 2013-01-20 20:29:52 +00:00
parent b853c415c6
commit 5ff7a3f947

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