This is an archive of the discontinued LLVM Phabricator instance.

AMDGPU/GlobalISel: Implement custom kernel arg lowering
ClosedPublic

Authored by arsenm on Jul 2 2018, 12:56 AM.

Details

Reviewers
tstellar
rampitec
Summary

Avoid using allocateKernArg / AssignFn. We do not want any
of the type splitting properties of normal calling convention
lowering.

For now at least this exists alongside the IR argument lowering
pass. This is necessary to handle struct padding correctly while
some arguments are still skipped by the IR argument lowering
pass.

Diff Detail

Event Timeline

arsenm created this revision.Jul 2 2018, 12:56 AM
tstellar accepted this revision.Jul 3 2018, 4:08 PM

LGTM.

This revision is now accepted and ready to land.Jul 3 2018, 4:08 PM
arsenm closed this revision.Jul 5 2018, 10:06 AM

r336373