LoopVectorize: Fix a C++11 incompatibility.
authorBenjamin Kramer <benny.kra@googlemail.com>
Sun, 20 Jan 2013 20:29:52 +0000 (20:29 +0000)
committerBenjamin Kramer <benny.kra@googlemail.com>
Sun, 20 Jan 2013 20:29:52 +0000 (20:29 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@172990 91177308-0d34-0410-b5e6-96231b3b80d8

lib/Transforms/Vectorize/LoopVectorize.cpp

index 3013c2d6639d799c46f26c16bfa475a2201ee599..ba8987d606f0181bfac1739b1fd34ffc0b2f3f44 100644 (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() {