This is an archive of the discontinued LLVM Phabricator instance.

[AMDGPU] Extend cases for ReadM0MovRelInterpHazard
ClosedPublic

Authored by piotr on Jul 29 2022, 8:59 AM.

Details

Summary

Extend hazard recognizer of ReadM0MovRelInterpHazard with
DS_READ_ADDTID and DS_WRITE_ADDTID, as they also
require a manually inserted S_NOP after SALU writing m0.

Diff Detail

Event Timeline

piotr created this revision.Jul 29 2022, 8:59 AM
Herald added a project: Restricted Project. · View Herald TranscriptJul 29 2022, 8:59 AM
piotr requested review of this revision.Jul 29 2022, 8:59 AM
Herald added a project: Restricted Project. · View Herald TranscriptJul 29 2022, 8:59 AM
rampitec added inline comments.Jul 29 2022, 1:56 PM
llvm/test/CodeGen/AMDGPU/hazard-lds-addtid.mir
11

GFX9-NEXT in all cases.

53

Remove this extra separator.

piotr updated this revision to Diff 449003.Aug 1 2022, 6:06 AM

Removed the extra separator and updated test check.

rampitec accepted this revision.Aug 1 2022, 8:08 AM

LGTM

This revision is now accepted and ready to land.Aug 1 2022, 8:08 AM
This revision was landed with ongoing or failed builds.Aug 1 2022, 9:02 AM
This revision was automatically updated to reflect the committed changes.