summaryrefslogtreecommitdiff
path: root/lib/CodeGen/RegisterCoalescer.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
commita4f0aad95182b7c6dec35fea0d1dc4ef3046b5ab (patch)
treec981102d506f312cfe521648f7d523a2a6a03f75 /lib/CodeGen/RegisterCoalescer.cpp
parentfc6d7d6cf53a539555f2065a059300e181ddb94b (diff)
downloadllvm-a4f0aad95182b7c6dec35fea0d1dc4ef3046b5ab.tar.gz
llvm-a4f0aad95182b7c6dec35fea0d1dc4ef3046b5ab.tar.bz2
llvm-a4f0aad95182b7c6dec35fea0d1dc4ef3046b5ab.tar.xz
[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/CodeGen/RegisterCoalescer.cpp')
-rw-r--r--lib/CodeGen/RegisterCoalescer.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/CodeGen/RegisterCoalescer.cpp b/lib/CodeGen/RegisterCoalescer.cpp
index ff4631afc7..cbec942273 100644
--- a/lib/CodeGen/RegisterCoalescer.cpp
+++ b/lib/CodeGen/RegisterCoalescer.cpp
@@ -952,7 +952,7 @@ void RegisterCoalescer::updateRegDefsUses(unsigned SrcReg,
SmallVector<unsigned,8> Ops;
bool Reads, Writes;
- tie(Reads, Writes) = UseMI->readsWritesVirtualRegister(SrcReg, &Ops);
+ std::tie(Reads, Writes) = UseMI->readsWritesVirtualRegister(SrcReg, &Ops);
// If SrcReg wasn't read, it may still be the case that DstReg is live-in
// because SrcReg is a sub-register.