This is an archive of the discontinued LLVM Phabricator instance.

AMDGPU: Optimize outgoing workitem ID based on reqd_work_group_size
ClosedPublic

Authored by arsenm on Jan 10 2022, 9:22 AM.

Details

Reviewers
rampitec
Group Reviewers
Restricted Project
Summary

If we know we we aren't using a component from the kernel, we can save
a few bit packing instructions.

We're still enabling the VGPR input to the kernel though.

Diff Detail