diff options
author | Benjamin Kramer <benny.kra@googlemail.com> | 2014-03-02 13:30:33 +0000 |
---|---|---|
committer | Benjamin Kramer <benny.kra@googlemail.com> | 2014-03-02 13:30:33 +0000 |
commit | a4f0aad95182b7c6dec35fea0d1dc4ef3046b5ab (patch) | |
tree | c981102d506f312cfe521648f7d523a2a6a03f75 /lib/Transforms/Vectorize | |
parent | fc6d7d6cf53a539555f2065a059300e181ddb94b (diff) |
[C++11] Replace llvm::tie with std::tie.
The old implementation is no longer needed in C++11.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@202644 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Transforms/Vectorize')
-rw-r--r-- | lib/Transforms/Vectorize/LoopVectorize.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/Transforms/Vectorize/LoopVectorize.cpp b/lib/Transforms/Vectorize/LoopVectorize.cpp index 1ee92fde9b2..dd929616b75 100644 --- a/lib/Transforms/Vectorize/LoopVectorize.cpp +++ b/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. |