This is an archive of the discontinued LLVM Phabricator instance.

[AMDGPU][AsmParser] Refine parsing of some 32-bit instruction operands.
ClosedPublic

Authored by kosarev on May 9 2023, 8:34 AM.

Details

Summary

Eliminates the need for the custom code in parseCustomOperand().

The remaining uses of NamedOperandU32 are to be addressed separately.

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

Diff Detail

Event Timeline

kosarev created this revision.May 9 2023, 8:34 AM
Herald added a project: Restricted Project. · View Herald TranscriptMay 9 2023, 8:34 AM
kosarev requested review of this revision.May 9 2023, 8:34 AM
Herald added a project: Restricted Project. · View Herald TranscriptMay 9 2023, 8:34 AM
kosarev updated this revision to Diff 520713.May 9 2023, 8:37 AM

Undo an unwanted clang-format change.

dp accepted this revision.May 16 2023, 10:16 AM

LGTM

This revision is now accepted and ready to land.May 16 2023, 10:16 AM
This revision was landed with ongoing or failed builds.May 19 2023, 8:55 AM
This revision was automatically updated to reflect the committed changes.