This is an archive of the discontinued LLVM Phabricator instance.

[AMDGPU][MC][DISASSEMBLER] Corrected decoder to consume each code fragment once
ClosedPublic

Authored by dp on May 27 2020, 8:28 AM.

Details

Summary

Current implementation may decode some fragments of code twice. This result in other bugs being hidden.

See detailed bug description.

Decoding of v_writelane_b32 will be corrected by a separate change.

Diff Detail

Event Timeline

dp created this revision.May 27 2020, 8:28 AM
Herald added a project: Restricted Project. · View Herald TranscriptMay 27 2020, 8:28 AM
rampitec accepted this revision.May 27 2020, 9:56 AM
rampitec added inline comments.
llvm/lib/Target/AMDGPU/Disassembler/AMDGPUDisassembler.cpp
365

I assume this became unneeded with some other change.

This revision is now accepted and ready to land.May 27 2020, 9:56 AM
This revision was automatically updated to reflect the committed changes.