[AMDGPU] Remove an unnecessary cast (NFC) (#146548)

Val is already of uint64_t.
This commit is contained in:
Kazu Hirata
2025-07-01 10:42:22 -07:00
committed by GitHub
parent 72a9c3cced
commit e79e22c9af

View File

@@ -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;
}