This is an archive of the discontinued LLVM Phabricator instance.

[AMDGPU][AsmParser][NFC] Clean up the implementation of KImmFP operands.
ClosedPublic

Authored by kosarev on Jul 4 2023, 3:59 AM.

Details

Summary

addKImmFPOperands() duplicates the KImmFP-specific logic implemented in
addLiteralImmOperand() and therefore can be removed.

Part of https://github.com/llvm/llvm-project/issues/62629.

Diff Detail

Event Timeline

kosarev created this revision.Jul 4 2023, 3:59 AM
Herald added a project: Restricted Project. · View Herald TranscriptJul 4 2023, 3:59 AM
kosarev requested review of this revision.Jul 4 2023, 3:59 AM
Herald added a project: Restricted Project. · View Herald TranscriptJul 4 2023, 3:59 AM
foad accepted this revision.Jul 4 2023, 4:23 AM

LGTM

This revision is now accepted and ready to land.Jul 4 2023, 4:23 AM
This revision was landed with ongoing or failed builds.Jul 5 2023, 2:43 AM
This revision was automatically updated to reflect the committed changes.