This is an archive of the discontinued LLVM Phabricator instance.

AMDGPU: Fix counting kernel arguments towards register usage
ClosedPublic

Authored by arsenm on Nov 13 2020, 11:37 AM.

Details

Summary

Also use DataLayout to get type size. Relying on the IR type size is
also pretty broken here, since this won't perfectly capture how types
are legalized.

Diff Detail

Event Timeline

arsenm created this revision.Nov 13 2020, 11:37 AM
Herald added a project: Restricted Project. · View Herald TranscriptNov 13 2020, 11:37 AM
arsenm requested review of this revision.Nov 13 2020, 11:37 AM
rampitec accepted this revision.Nov 13 2020, 1:43 PM
This revision is now accepted and ready to land.Nov 13 2020, 1:43 PM