This is an archive of the discontinued LLVM Phabricator instance.

[AMDGPU][MC] Added detection of unsupported instructions
ClosedPublic

Authored by dp on Sep 24 2020, 3:30 AM.

Details

Summary

This change implements identification of unsupported instructions and improves errors reporting.

Before this change assembler was unable to identify unsupported instructions reliably.
In many cases this resulted in an "invalid operand" message instead of an "unsupported opcode".

Partially fixes bug 42590.

Diff Detail

Event Timeline

dp created this revision.Sep 24 2020, 3:30 AM
Herald added a project: Restricted Project. · View Herald TranscriptSep 24 2020, 3:30 AM
dp requested review of this revision.Sep 24 2020, 3:30 AM
dp edited the summary of this revision. (Show Details)Sep 24 2020, 4:08 AM
dp added reviewers: arsenm, rampitec.
dp updated this revision to Diff 294032.Sep 24 2020, 5:56 AM

Removed unnecessary code

This revision is now accepted and ready to land.Sep 24 2020, 11:34 AM
This revision was automatically updated to reflect the committed changes.
llvm/test/MC/AMDGPU/gfx10_unsupported.s