diff options
author | Fangrui Song <maskray@google.com> | 2018-11-17 01:44:25 +0000 |
---|---|---|
committer | Fangrui Song <maskray@google.com> | 2018-11-17 01:44:25 +0000 |
commit | 75709329774ba0596bcd99abe4037dacfe28a053 (patch) | |
tree | ec75e41ad7e05d81e381911b019f605d019ff5fe /llvm/lib/Analysis/MemorySSAUpdater.cpp | |
parent | a900471d58fda9c5c68b0177b912a3ea174b5d18 (diff) | |
download | bcm5719-llvm-75709329774ba0596bcd99abe4037dacfe28a053.tar.gz bcm5719-llvm-75709329774ba0596bcd99abe4037dacfe28a053.zip |
Use llvm::copy. NFC
llvm-svn: 347126
Diffstat (limited to 'llvm/lib/Analysis/MemorySSAUpdater.cpp')
-rw-r--r-- | llvm/lib/Analysis/MemorySSAUpdater.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/llvm/lib/Analysis/MemorySSAUpdater.cpp b/llvm/lib/Analysis/MemorySSAUpdater.cpp index 880dc2f2785..1ac58188bd9 100644 --- a/llvm/lib/Analysis/MemorySSAUpdater.cpp +++ b/llvm/lib/Analysis/MemorySSAUpdater.cpp @@ -93,7 +93,7 @@ MemoryAccess *MemorySSAUpdater::getPreviousDefRecursive( // FIXME: Figure out whether this is dead code and if so remove it. if (!std::equal(Phi->op_begin(), Phi->op_end(), PhiOps.begin())) { // These will have been filled in by the recursive read we did above. - std::copy(PhiOps.begin(), PhiOps.end(), Phi->op_begin()); + llvm::copy(PhiOps, Phi->op_begin()); std::copy(pred_begin(BB), pred_end(BB), Phi->block_begin()); } } else { |