[AMDGPU] Remove an unnecessary cast (NFC) (#146548)
Val is already of uint64_t.
This commit is contained in:
@@ -898,7 +898,7 @@ bool AMDGPUPALMetadata::setFromString(StringRef S) {
|
||||
errs() << "Unrecognized PAL metadata register key '" << S << "'\n";
|
||||
continue;
|
||||
}
|
||||
Key = MsgPackDoc.getNode(uint64_t(Val));
|
||||
Key = MsgPackDoc.getNode(Val);
|
||||
}
|
||||
Registers.getMap()[Key] = I.second;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user