This is an archive of the discontinued LLVM Phabricator instance.

AMDGPU: Stop adding stack passed wide arguments to call conv handler
ClosedPublic

Authored by arsenm on Feb 7 2021, 1:09 PM.

Details

Summary

The generated calling convention code shouldn't see these types since
we split large types into 32-bit chunks before the calling convention
code is triggered.

GlobalISel ends up directly calls the generated CC code before
checking for the register count breakdown. Arguably this difference is
a bug, but this was dead code for the DAG anyway.

Diff Detail

Event Timeline

arsenm created this revision.Feb 7 2021, 1:09 PM
arsenm requested review of this revision.Feb 7 2021, 1:09 PM
Herald added a project: Restricted Project. · View Herald TranscriptFeb 7 2021, 1:09 PM
Herald added a subscriber: wdng. · View Herald Transcript
rampitec accepted this revision.Feb 8 2021, 10:38 AM
This revision is now accepted and ready to land.Feb 8 2021, 10:38 AM