aboutsummaryrefslogtreecommitdiff
path: root/llvm/lib/CodeGen/MachineFunction.cpp
diff options
context:
space:
mode:
authorKazu Hirata <kazu@google.com>2020-12-28 19:55:16 -0800
committerKazu Hirata <kazu@google.com>2020-12-28 19:55:16 -0800
commit1e3ed09165cf89b7f87318b4a5f7cab484661d49 (patch)
tree5f1f728373dbeff945109a8fa9b362a0a5033c86 /llvm/lib/CodeGen/MachineFunction.cpp
parent1e23802507d18ef8cb5a063325ff442ac7f527be (diff)
downloadllvm-1e3ed09165cf89b7f87318b4a5f7cab484661d49.zip
llvm-1e3ed09165cf89b7f87318b4a5f7cab484661d49.tar.gz
llvm-1e3ed09165cf89b7f87318b4a5f7cab484661d49.tar.bz2
[CodeGen] Use llvm::append_range (NFC)
Diffstat (limited to 'llvm/lib/CodeGen/MachineFunction.cpp')
-rw-r--r--llvm/lib/CodeGen/MachineFunction.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/llvm/lib/CodeGen/MachineFunction.cpp b/llvm/lib/CodeGen/MachineFunction.cpp
index 2a9a88a..1eb1914 100644
--- a/llvm/lib/CodeGen/MachineFunction.cpp
+++ b/llvm/lib/CodeGen/MachineFunction.cpp
@@ -868,7 +868,7 @@ try_next:;
// Add the new filter.
int FilterID = -(1 + FilterIds.size());
FilterIds.reserve(FilterIds.size() + TyIds.size() + 1);
- FilterIds.insert(FilterIds.end(), TyIds.begin(), TyIds.end());
+ llvm::append_range(FilterIds, TyIds);
FilterEnds.push_back(FilterIds.size());
FilterIds.push_back(0); // terminator
return FilterID;