This is an archive of the discontinued LLVM Phabricator instance.

AMDGPU: Add pass to detect used kernel features
ClosedPublic

Authored by arsenm on Oct 19 2015, 6:53 AM.

Details

Reviewers
tstellarAMD
Summary

Mark kernels that use certain features that require user
SGPRs to support with kernel attributes. We need to know
before instruction selection begins because it impacts
the kernel calling convention lowering.

For now this only detects the workitem intrinsics.

Diff Detail

Event Timeline

arsenm updated this revision to Diff 37749.Oct 19 2015, 6:53 AM
arsenm retitled this revision from to AMDGPU: Add pass to detect used kernel features.
arsenm updated this object.
arsenm added a reviewer: tstellarAMD.
arsenm added a subscriber: llvm-commits.
arsenm updated this revision to Diff 37752.Oct 19 2015, 7:06 AM

Move pass later

tstellarAMD accepted this revision.Nov 6 2015, 8:41 AM
tstellarAMD edited edge metadata.

LGTM.

This revision is now accepted and ready to land.Nov 6 2015, 8:41 AM
arsenm closed this revision.Nov 6 2015, 10:04 AM

r252323