diff options
author | Benjamin Kramer <benny.kra@googlemail.com> | 2013-01-20 20:29:52 +0000 |
---|---|---|
committer | Benjamin Kramer <benny.kra@googlemail.com> | 2013-01-20 20:29:52 +0000 |
commit | 5ff7a3f947c245df9ae95a381ef38184527e83e1 (patch) | |
tree | 05b52e6a4a0840a597671222ca0e2a7f72fa8cda /lib | |
parent | b853c415c663c752c669cb191cea95542c1d21f6 (diff) | |
download | external_llvm-5ff7a3f947c245df9ae95a381ef38184527e83e1.zip external_llvm-5ff7a3f947c245df9ae95a381ef38184527e83e1.tar.gz external_llvm-5ff7a3f947c245df9ae95a381ef38184527e83e1.tar.bz2 |
LoopVectorize: Fix a C++11 incompatibility.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@172990 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib')
-rw-r--r-- | lib/Transforms/Vectorize/LoopVectorize.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/Transforms/Vectorize/LoopVectorize.cpp b/lib/Transforms/Vectorize/LoopVectorize.cpp index 3013c2d..ba8987d 100644 --- a/lib/Transforms/Vectorize/LoopVectorize.cpp +++ b/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() { |