Skip to content

Commit 475c329

Browse files
committed
hash u8 rather than u64
1 parent e439de8 commit 475c329

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

llvm/lib/IR/LLVMContextImpl.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -338,7 +338,7 @@ template <> struct MDNodeKeyImpl<DILocation> {
338338

339339
unsigned getHashValue() const {
340340
return hash_combine(Line, Column, Scope, InlinedAt, ImplicitCode, AtomGroup,
341-
AtomRank);
341+
(uint8_t)AtomRank);
342342
}
343343
};
344344

0 commit comments

Comments
 (0)