HomePhabricator

AMDGPU: Directly annotate functions if they have calls

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

Description

AMDGPU: Directly annotate functions if they have calls

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.

Details

Committed
arsenmMar 12 2020, 4:10 PM
Parents
rG1fdb03808b01: CodeGen: Add constexpr to Register constructors
Branches
Unknown
Tags
Unknown