Skip to content

Commit 86ab5dc

Browse files
[AsmPrinter] Remove an unnecessary cast (NFC) (#152085)
getValue() already returns uint64_t.
1 parent 12ef487 commit 86ab5dc

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

llvm/lib/CodeGen/AsmPrinter/DIEHash.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -230,7 +230,7 @@ void DIEHash::hashBlockData(const DIE::const_value_range &Values) {
230230
"Base types referenced from DW_OP_convert should have a name");
231231
hashNestedType(C, Name);
232232
} else
233-
Hash.update((uint64_t)V.getDIEInteger().getValue());
233+
Hash.update(V.getDIEInteger().getValue());
234234
}
235235

236236
// Hash the contents of a loclistptr class.

0 commit comments

Comments
 (0)