This is an archive of the discontinued LLVM Phabricator instance.

[AMDGPU] Insert s_nop before s_sendmsg sendmsg(MSG_DEALLOC_VGPRS)
ClosedPublic

Authored by foad on Jul 19 2023, 1:34 AM.

Diff Detail

Event Timeline

foad created this revision.Jul 19 2023, 1:34 AM
Herald added a project: Restricted Project. · View Herald TranscriptJul 19 2023, 1:34 AM
foad requested review of this revision.Jul 19 2023, 1:34 AM
Herald added a project: Restricted Project. · View Herald TranscriptJul 19 2023, 1:35 AM
foad added reviewers: Restricted Project, rampitec, mjbedy.Jul 19 2023, 1:38 AM
rampitec added a comment.EditedJul 19 2023, 1:40 AM

Do you want to guard it with a predicate? I assume this will be fixed one day.

I.e. a subtarget check would make sense to me. Not a feature, just a check in the subtarget.

foad added a comment.Jul 19 2023, 2:05 AM

Do you want to guard it with a predicate? I assume this will be fixed one day.

I.e. a subtarget check would make sense to me. Not a feature, just a check in the subtarget.

I thought I would only do that when we get a new subtarget where this is not required. I could leave a TODO until then.

Do you want to guard it with a predicate? I assume this will be fixed one day.

I.e. a subtarget check would make sense to me. Not a feature, just a check in the subtarget.

I thought I would only do that when we get a new subtarget where this is not required. I could leave a TODO until then.

Still I would do a stub predicate returning true. As one of our colleagues said: this is not my first rodeo.

foad updated this revision to Diff 541912.Jul 19 2023, 2:27 AM

Use a subtarget predicate function.

This revision is now accepted and ready to land.Jul 19 2023, 2:30 AM
This revision was landed with ongoing or failed builds.Jul 19 2023, 2:35 AM
This revision was automatically updated to reflect the committed changes.