This is an archive of the discontinued LLVM Phabricator instance.

AMDGPU: Directly annotate functions if they have calls
ClosedPublic

Authored by arsenm on Mar 11 2020, 2:18 PM.

Details

Reviewers
rampitec
Summary

Currently we infer whether the flat-scratch-init kernel input should
be enabled based on calls. Move this handling, so we can decide if the
full set of ABI inputs is needed in kernels. Ideally we would have an
analysis of some sort, rather than the function attributes.

Diff Detail

Event Timeline

arsenm created this revision.Mar 11 2020, 2:18 PM
Herald added a project: Restricted Project. · View Herald TranscriptMar 11 2020, 2:18 PM
This revision is now accepted and ready to land.Mar 11 2020, 2:54 PM