Skip to content

Commit 3aa7235

Browse files
[AMDGPU] Remove an unnecessary cast (NFC) (#151440)
getZExtValue() already returns uint64_t.
1 parent c00df53 commit 3aa7235

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

llvm/lib/Target/AMDGPU/AMDGPUHSAMetadataStreamer.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -204,7 +204,7 @@ MetadataStreamerMsgPackV4::getWorkGroupDimensions(MDNode *Node) const {
204204

205205
for (auto &Op : Node->operands())
206206
Dims.push_back(Dims.getDocument()->getNode(
207-
uint64_t(mdconst::extract<ConstantInt>(Op)->getZExtValue())));
207+
mdconst::extract<ConstantInt>(Op)->getZExtValue()));
208208
return Dims;
209209
}
210210

0 commit comments

Comments
 (0)