Page MenuHomePhabricator

[AMDGPU] Allow any value in unused src0 field in v_nop

Authored by tpr on Jun 24 2019, 9:26 AM.



The LLVM disassembler assumes that the unused src0 operand of v_nop is
zero. Other tools can put another value in that field, which is still
valid. This commit fixes the LLVM disassembler to recognize such an
encoding as v_nop, in the same way as we already do for s_getpc.

Change-Id: Iaf0363eae26ff92fc4ebc716216476adbff37a6f

Diff Detail

Event Timeline

tpr created this revision.Jun 24 2019, 9:26 AM
Herald added a project: Restricted Project. · View Herald TranscriptJun 24 2019, 9:26 AM
This revision is now accepted and ready to land.Jun 24 2019, 9:30 AM
This revision was automatically updated to reflect the committed changes.