This is an archive of the discontinued LLVM Phabricator instance.

AMDGPU: Report large stack usage for recursive calls
ClosedPublic

Authored by arsenm on Nov 10 2021, 4:31 PM.

Details

Reviewers
rampitec
t-tye
Summary

We were previously setting an ignored bit in the kernel headers. The
current behavior is to add the large amount on top of the statically
known size of a single stack frame. I'm not sure if we should just use
the large size as the entire reported size instead.

Diff Detail

Unit TestsFailed

Event Timeline

arsenm created this revision.Nov 10 2021, 4:31 PM
arsenm requested review of this revision.Nov 10 2021, 4:31 PM
Herald added a project: Restricted Project. · View Herald TranscriptNov 10 2021, 4:31 PM
Herald added a subscriber: wdng. · View Herald Transcript
rampitec accepted this revision.Nov 10 2021, 4:45 PM

Assuming we are consistently getting norecurse attribute LGTM.

This revision is now accepted and ready to land.Nov 10 2021, 4:45 PM