This is an archive of the discontinued LLVM Phabricator instance.

[AMDGPU][MC] Fix handling of A16 operands in intersect_ray instructions.
ClosedPublic

Authored by kosarev on Jul 12 2023, 2:47 AM.

Details

Summary

The patch adds the support for 'noa16' operands in non-A16 variants of
the instructions, fixes validation of A16 operands and eliminates the
custom conversion to MCInst.

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

Diff Detail

Event Timeline

kosarev created this revision.Jul 12 2023, 2:47 AM
Herald added a project: Restricted Project. · View Herald TranscriptJul 12 2023, 2:47 AM
kosarev requested review of this revision.Jul 12 2023, 2:47 AM
Herald added a project: Restricted Project. · View Herald TranscriptJul 12 2023, 2:47 AM
kosarev edited reviewers, added: mbrkusanin; removed: Mirko.Jul 12 2023, 2:55 AM
foad added a comment.Jul 12 2023, 3:03 AM

Test updates LGTM.

kosarev updated this revision to Diff 539462.Jul 12 2023, 3:09 AM

Removed a now-unneeded check in AMDGPUDisassembler::convertMIMGInst().

arsenm accepted this revision.Jul 12 2023, 12:56 PM
This revision is now accepted and ready to land.Jul 12 2023, 12:56 PM
This revision was landed with ongoing or failed builds.Jul 13 2023, 11:46 AM
This revision was automatically updated to reflect the committed changes.