This is an archive of the discontinued LLVM Phabricator instance.

[AMDGPU] Remove the unused u8imm operand definition.
ClosedPublic

Authored by kosarev on Jan 20 2023, 1:52 AM.

Diff Detail

Event Timeline

kosarev created this revision.Jan 20 2023, 1:52 AM
Herald added a project: Restricted Project. · View Herald TranscriptJan 20 2023, 1:52 AM
kosarev requested review of this revision.Jan 20 2023, 1:52 AM
Herald added a project: Restricted Project. · View Herald TranscriptJan 20 2023, 1:52 AM
foad accepted this revision.Jan 20 2023, 2:19 AM

Seems obvious.

This revision is now accepted and ready to land.Jan 20 2023, 2:19 AM

Shouldn't AMDGPUInstPrinter::printU8ImmOperand (and perhaps AMDGPUInstPrinter::printU32ImmOperand) be removed as well?

kosarev updated this revision to Diff 490779.Jan 20 2023, 4:11 AM

Remove printU8ImmOperand() as well.

Shouldn't AMDGPUInstPrinter::printU8ImmOperand (and perhaps AMDGPUInstPrinter::printU32ImmOperand) be removed as well?

Of course! printU32ImmOperand() helps other functions and has to stay. Thanks.

kosarev updated this revision to Diff 495456.Feb 7 2023, 3:37 AM

Leave u32imm be as it's now in use again.

kosarev retitled this revision from [AMDGPU] Remove unused immediate operand definitions. to [AMDGPU] Remove the unused u8imm operand definition..Feb 7 2023, 3:37 AM
foad accepted this revision.Feb 7 2023, 3:38 AM
This revision was landed with ongoing or failed builds.Feb 7 2023, 3:49 AM
This revision was automatically updated to reflect the committed changes.