This is an archive of the discontinued LLVM Phabricator instance.

[AMDGPU] Pass to propagate ABI attributes from kernels to the functions
ClosedPublic

Authored by rampitec on Jun 12 2019, 7:50 AM.

Details

Summary

The pass works in two modes:

Mode 1: Just set attributes starting from kernels. This can work at
the very beginning of opt and llc pipeline, but cannot clone functions
because it must be a function pass.

Mode 2: Actually clone functions for new attributes. This can only work
after all function passes in the opt pipeline because it has to be a
module pass.

Diff Detail

Event Timeline

rampitec created this revision.Jun 12 2019, 7:50 AM
This revision is now accepted and ready to land.Jun 13 2019, 5:10 PM
This revision was automatically updated to reflect the committed changes.
Herald added a project: Restricted Project. · View Herald TranscriptJun 17 2019, 10:44 AM