This is an archive of the discontinued LLVM Phabricator instance.

[amdgpu] Fix scoreboard updating on `s_waitcnt_vscnt`.
ClosedPublic

Authored by hliao on Dec 24 2019, 9:49 PM.

Details

Summary
  • Other counters are accidentally cleared.

Diff Detail

Event Timeline

hliao created this revision.Dec 24 2019, 9:49 PM
Herald added a project: Restricted Project. · View Herald TranscriptDec 24 2019, 9:49 PM
hliao updated this revision to Diff 235686.Dec 31 2019, 12:05 AM

Add test case.

hliao retitled this revision from [amdgpu] Fix scoreboard updating after `s_waitcnt_vscnt`. to [amdgpu] Fix scoreboard updating on `s_waitcnt_vscnt`..Dec 31 2019, 12:06 AM
hliao added reviewers: msearles, arsenm, rampitec.
hliao marked an inline comment as done.Dec 31 2019, 12:07 AM

Add clarification on the test case.

llvm/test/CodeGen/AMDGPU/waitcnt-vscnt.mir
6

This S_WAITCNT is missing without this patch.

This revision is now accepted and ready to land.Dec 31 2019, 10:44 AM
This revision was automatically updated to reflect the committed changes.