This is an archive of the discontinued LLVM Phabricator instance.

[AMDGPU] Small cleanup in insertWaitcntInBlock()
ClosedPublic

Authored by stepthomas on Dec 7 2022, 3:13 AM.

Details

Summary

Move some code that checks if an instruction is a waitcount into a separate
function, mainly to aid readability in the logic where it is used.

Diff Detail

Event Timeline

stepthomas created this revision.Dec 7 2022, 3:13 AM
Herald added a project: Restricted Project. · View Herald TranscriptDec 7 2022, 3:13 AM
stepthomas requested review of this revision.Dec 7 2022, 3:13 AM
Herald added a project: Restricted Project. · View Herald TranscriptDec 7 2022, 3:13 AM
foad accepted this revision.Dec 7 2022, 3:18 AM

LGTM.

This revision is now accepted and ready to land.Dec 7 2022, 3:18 AM
This revision was landed with ongoing or failed builds.Dec 7 2022, 3:59 AM
This revision was automatically updated to reflect the committed changes.