aboutsummaryrefslogtreecommitdiff
path: root/llvm/lib/IR/LLVMContextImpl.cpp
diff options
context:
space:
mode:
authorKazu Hirata <kazu@google.com>2025-04-20 16:36:03 -0700
committerGitHub <noreply@github.com>2025-04-20 16:36:03 -0700
commitb01e25debaf3fde3c76c9763e78e118a7da3d592 (patch)
treeb1671d775c0953df9984a40a847c6d5800c121f1 /llvm/lib/IR/LLVMContextImpl.cpp
parentf87109f018faad5f3f1bf8a4668754c24e84e886 (diff)
downloadllvm-b01e25debaf3fde3c76c9763e78e118a7da3d592.zip
llvm-b01e25debaf3fde3c76c9763e78e118a7da3d592.tar.gz
llvm-b01e25debaf3fde3c76c9763e78e118a7da3d592.tar.bz2
[llvm] Call hash_combine_range with ranges (NFC) (#136511)
Diffstat (limited to 'llvm/lib/IR/LLVMContextImpl.cpp')
-rw-r--r--llvm/lib/IR/LLVMContextImpl.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/llvm/lib/IR/LLVMContextImpl.cpp b/llvm/lib/IR/LLVMContextImpl.cpp
index 5e51b3c..d8cdbf8 100644
--- a/llvm/lib/IR/LLVMContextImpl.cpp
+++ b/llvm/lib/IR/LLVMContextImpl.cpp
@@ -207,7 +207,7 @@ unsigned MDNodeOpsKey::calculateHash(MDNode *N, unsigned Offset) {
}
unsigned MDNodeOpsKey::calculateHash(ArrayRef<Metadata *> Ops) {
- return hash_combine_range(Ops.begin(), Ops.end());
+ return hash_combine_range(Ops);
}
StringMapEntry<uint32_t> *LLVMContextImpl::getOrInsertBundleTag(StringRef Tag) {