summaryrefslogtreecommitdiffstats
path: root/llvm/lib/Transforms/Instrumentation/ControlHeightReduction.cpp
diff options
context:
space:
mode:
authorFangrui Song <maskray@google.com>2018-11-17 01:44:25 +0000
committerFangrui Song <maskray@google.com>2018-11-17 01:44:25 +0000
commit75709329774ba0596bcd99abe4037dacfe28a053 (patch)
treeec75e41ad7e05d81e381911b019f605d019ff5fe /llvm/lib/Transforms/Instrumentation/ControlHeightReduction.cpp
parenta900471d58fda9c5c68b0177b912a3ea174b5d18 (diff)
downloadbcm5719-llvm-75709329774ba0596bcd99abe4037dacfe28a053.tar.gz
bcm5719-llvm-75709329774ba0596bcd99abe4037dacfe28a053.zip
Use llvm::copy. NFC
llvm-svn: 347126
Diffstat (limited to 'llvm/lib/Transforms/Instrumentation/ControlHeightReduction.cpp')
-rw-r--r--llvm/lib/Transforms/Instrumentation/ControlHeightReduction.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/llvm/lib/Transforms/Instrumentation/ControlHeightReduction.cpp b/llvm/lib/Transforms/Instrumentation/ControlHeightReduction.cpp
index 8f4159d3d19..10ad6d5eff6 100644
--- a/llvm/lib/Transforms/Instrumentation/ControlHeightReduction.cpp
+++ b/llvm/lib/Transforms/Instrumentation/ControlHeightReduction.cpp
@@ -1416,7 +1416,7 @@ bool CHRScopeSorter(CHRScope *Scope1, CHRScope *Scope2) {
void CHR::sortScopes(SmallVectorImpl<CHRScope *> &Input,
SmallVectorImpl<CHRScope *> &Output) {
Output.resize(Input.size());
- std::copy(Input.begin(), Input.end(), Output.begin());
+ llvm::copy(Input, Output.begin());
std::stable_sort(Output.begin(), Output.end(), CHRScopeSorter);
}
OpenPOWER on IntegriCloud