forked from OSchip/llvm-project
singed int causes signed extension, which contradicts the intention to pick up
integers with high 32 bits being zero. llvm-svn: 132538
This commit is contained in:
parent
79286bf251
commit
3e4abe5470
|
@ -92,7 +92,7 @@ void FoldingSetNodeID::AddInteger(long long I) {
|
|||
}
|
||||
void FoldingSetNodeID::AddInteger(unsigned long long I) {
|
||||
AddInteger(unsigned(I));
|
||||
if ((uint64_t)(int)I != I)
|
||||
if ((uint64_t)(unsigned)I != I)
|
||||
Bits.push_back(unsigned(I >> 32));
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue