summaryrefslogtreecommitdiffstats
path: root/llvm/lib/Transforms
diff options
context:
space:
mode:
authorBenjamin Kramer <benny.kra@googlemail.com>2013-01-20 20:29:52 +0000
committerBenjamin Kramer <benny.kra@googlemail.com>2013-01-20 20:29:52 +0000
commita6e2e2a0a752a6f3348f6d168bc64ddd881e575a (patch)
tree31711f9533a0205d0e2b5ff55a57aa092e160fff /llvm/lib/Transforms
parent4ab3c46874e42bd9c3e6e1723fcb9f2e8bc916a0 (diff)
downloadbcm5719-llvm-a6e2e2a0a752a6f3348f6d168bc64ddd881e575a.tar.gz
bcm5719-llvm-a6e2e2a0a752a6f3348f6d168bc64ddd881e575a.zip
LoopVectorize: Fix a C++11 incompatibility.
llvm-svn: 172990
Diffstat (limited to 'llvm/lib/Transforms')
-rw-r--r--llvm/lib/Transforms/Vectorize/LoopVectorize.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/llvm/lib/Transforms/Vectorize/LoopVectorize.cpp b/llvm/lib/Transforms/Vectorize/LoopVectorize.cpp
index 3013c2d6639..ba8987d606f 100644
--- a/llvm/lib/Transforms/Vectorize/LoopVectorize.cpp
+++ b/llvm/lib/Transforms/Vectorize/LoopVectorize.cpp
@@ -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() {
OpenPOWER on IntegriCloud