summaryrefslogtreecommitdiffstats
path: root/llvm/lib/Transforms/Vectorize/LoopVectorize.cpp
diff options
context:
space:
mode:
authorBenjamin Kramer <benny.kra@googlemail.com>2014-03-02 13:30:33 +0000
committerBenjamin Kramer <benny.kra@googlemail.com>2014-03-02 13:30:33 +0000
commitd6f1f84f5170c3f7ac35d1ff3d03d95471d80388 (patch)
tree0942473b83cbd6a1b63871e744345aaf848229e8 /llvm/lib/Transforms/Vectorize/LoopVectorize.cpp
parentcef536ec0fbc0a194f261a25cb499aeada32f943 (diff)
downloadbcm5719-llvm-d6f1f84f5170c3f7ac35d1ff3d03d95471d80388.tar.gz
bcm5719-llvm-d6f1f84f5170c3f7ac35d1ff3d03d95471d80388.zip
[C++11] Replace llvm::tie with std::tie.
The old implementation is no longer needed in C++11. llvm-svn: 202644
Diffstat (limited to 'llvm/lib/Transforms/Vectorize/LoopVectorize.cpp')
-rw-r--r--llvm/lib/Transforms/Vectorize/LoopVectorize.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/llvm/lib/Transforms/Vectorize/LoopVectorize.cpp b/llvm/lib/Transforms/Vectorize/LoopVectorize.cpp
index 1ee92fde9b2..dd929616b75 100644
--- a/llvm/lib/Transforms/Vectorize/LoopVectorize.cpp
+++ b/llvm/lib/Transforms/Vectorize/LoopVectorize.cpp
@@ -1977,7 +1977,7 @@ void InnerLoopVectorizer::createEmptyLoop() {
// sequence of instructions that form a check.
Instruction *StrideCheck;
Instruction *FirstCheckInst;
- tie(FirstCheckInst, StrideCheck) =
+ std::tie(FirstCheckInst, StrideCheck) =
addStrideCheck(BypassBlock->getTerminator());
if (StrideCheck) {
// Create a new block containing the stride check.
@@ -2001,7 +2001,7 @@ void InnerLoopVectorizer::createEmptyLoop() {
// checks into a separate block to make the more common case of few elements
// faster.
Instruction *MemRuntimeCheck;
- tie(FirstCheckInst, MemRuntimeCheck) =
+ std::tie(FirstCheckInst, MemRuntimeCheck) =
addRuntimeCheck(LastBypassBlock->getTerminator());
if (MemRuntimeCheck) {
// Create a new block containing the memory check.
OpenPOWER on IntegriCloud