This is an archive of the discontinued LLVM Phabricator instance.

AMDGPU: Fix assert with indirect call with known required inputs
ClosedPublic

Authored by arsenm on Sep 13 2021, 7:38 PM.

Details

Summary

The attributor can determine that some indirect calls do not require
special inputs. The special inputs will still be present in the ABI,
so we need to allocate the registers and pass undefs.

Diff Detail

Unit TestsFailed

Event Timeline

arsenm created this revision.Sep 13 2021, 7:38 PM
arsenm requested review of this revision.Sep 13 2021, 7:38 PM
Herald added a reviewer: sstefan1. · View Herald Transcript
Herald added a reviewer: baziotis. · View Herald Transcript
Herald added a project: Restricted Project. · View Herald Transcript
Herald added a subscriber: wdng. · View Herald Transcript
ronlieb accepted this revision.Sep 13 2021, 7:49 PM

LGTM, passed my list of fails.

This revision is now accepted and ready to land.Sep 13 2021, 7:49 PM