[llvm-commits] [llvm] r172990 - /llvm/trunk/lib/Transforms/Vectorize/LoopVectorize.cpp
Benjamin Kramer
benny.kra at googlemail.com
Sun Jan 20 12:29:53 PST 2013
Author: d0k
Date: Sun Jan 20 14:29:52 2013
New Revision: 172990
URL: http://llvm.org/viewvc/llvm-project?rev=172990&view=rev
Log:
LoopVectorize: Fix a C++11 incompatibility.
Modified:
llvm/trunk/lib/Transforms/Vectorize/LoopVectorize.cpp
Modified: llvm/trunk/lib/Transforms/Vectorize/LoopVectorize.cpp
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/lib/Transforms/Vectorize/LoopVectorize.cpp?rev=172990&r1=172989&r2=172990&view=diff
==============================================================================
--- llvm/trunk/lib/Transforms/Vectorize/LoopVectorize.cpp (original)
+++ llvm/trunk/lib/Transforms/Vectorize/LoopVectorize.cpp Sun Jan 20 14:29:52 2013
@@ -2714,7 +2714,7 @@
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() {
More information about the llvm-commits
mailing list