diff options
author | Kazu Hirata <kazu@google.com> | 2021-01-21 19:59:46 -0800 |
---|---|---|
committer | Kazu Hirata <kazu@google.com> | 2021-01-21 19:59:46 -0800 |
commit | c5c4dbd2790736008b1c60f1b737dfb824b90144 (patch) | |
tree | 8eb24ba69e06b2741d154bb072778725d79ea587 /llvm/lib/CodeGen/SplitKit.cpp | |
parent | be611431cd1f5c826a55b531db92a63e84323866 (diff) | |
download | llvm-c5c4dbd2790736008b1c60f1b737dfb824b90144.zip llvm-c5c4dbd2790736008b1c60f1b737dfb824b90144.tar.gz llvm-c5c4dbd2790736008b1c60f1b737dfb824b90144.tar.bz2 |
[CodeGen] Use llvm::append_range (NFC)
Diffstat (limited to 'llvm/lib/CodeGen/SplitKit.cpp')
-rw-r--r-- | llvm/lib/CodeGen/SplitKit.cpp | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/llvm/lib/CodeGen/SplitKit.cpp b/llvm/lib/CodeGen/SplitKit.cpp index 4be9847..a6a3149 100644 --- a/llvm/lib/CodeGen/SplitKit.cpp +++ b/llvm/lib/CodeGen/SplitKit.cpp @@ -998,9 +998,7 @@ void SplitEditor::computeRedundantBackCopies( } if (!DominatedVNIs.empty()) { forceRecompute(0, *ParentVNI); - for (auto VNI : DominatedVNIs) { - BackCopies.push_back(VNI); - } + append_range(BackCopies, DominatedVNIs); DominatedVNIs.clear(); } } |