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 | d6f1f84f5170c3f7ac35d1ff3d03d95471d80388 (patch) | |
tree | 0942473b83cbd6a1b63871e744345aaf848229e8 /llvm/lib/Analysis/CostModel.cpp | |
parent | cef536ec0fbc0a194f261a25cb499aeada32f943 (diff) | |
download | bcm5719-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/Analysis/CostModel.cpp')
-rw-r--r-- | llvm/lib/Analysis/CostModel.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/llvm/lib/Analysis/CostModel.cpp b/llvm/lib/Analysis/CostModel.cpp index 8eb5f6857e2..fcad3385f6d 100644 --- a/llvm/lib/Analysis/CostModel.cpp +++ b/llvm/lib/Analysis/CostModel.cpp @@ -334,7 +334,7 @@ static bool matchVectorSplittingReduction(const ExtractElementInst *ReduxRoot, Value *NextRdxOp; ShuffleVectorInst *Shuffle; - tie(NextRdxOp, Shuffle) = getShuffleAndOtherOprd(BinOp); + std::tie(NextRdxOp, Shuffle) = getShuffleAndOtherOprd(BinOp); // Check the current reduction operation and the shuffle use the same value. if (Shuffle == 0) |