This is an archive of the discontinued LLVM Phabricator instance.

[AMDGPU] ISel for llvm.amdgcn.set.inactive.chain.arg
ClosedPublic

Authored by rovka on Aug 23 2023, 5:48 AM.

Details

Reviewers
arsenm
Group Reviewers
Restricted Project
Commits
rG3b905a0be508: [AMDGPU] ISel for llvm.amdgcn.set.inactive.chain.arg
Summary

Add patterns to select int_amdgcn_set_inactive_chain_arg to
V_SET_INACTIVE.

This could probably use some more testing, but at least for simple cases
V_SET_INACTIVE seems to mostly work out of the box.

Diff Detail

Event Timeline

rovka created this revision.Aug 23 2023, 5:48 AM
Herald added a project: Restricted Project. · View Herald TranscriptAug 23 2023, 5:48 AM
rovka requested review of this revision.Aug 23 2023, 5:48 AM
Herald added a project: Restricted Project. · View Herald TranscriptAug 23 2023, 5:48 AM
rovka added a reviewer: Restricted Project.
arsenm accepted this revision.Aug 23 2023, 5:14 PM
arsenm added inline comments.
llvm/test/CodeGen/AMDGPU/llvm.amdgcn.set.inactive.chain.arg.ll
55–56

Is it worth adding some tests with SGPR inputs?

This revision is now accepted and ready to land.Aug 23 2023, 5:14 PM
This revision was landed with ongoing or failed builds.Nov 8 2023, 12:55 AM
This revision was automatically updated to reflect the committed changes.