This is an archive of the discontinued LLVM Phabricator instance.

DAG: Fix expansion of DYNAMIC_STACKALLOC for StackGrowsUp targets
ClosedPublic

Authored by arsenm on May 27 2020, 9:39 AM.

Details

Summary

Tests will be included with AMDGPU patch to start using this
expansion.

Diff Detail

Event Timeline

arsenm created this revision.May 27 2020, 9:39 AM
Herald added a project: Restricted Project. · View Herald TranscriptMay 27 2020, 9:39 AM

Actually on second look, I can't use this implementation directly which I should have noticed before (and I'm also not sure how my test passes with this bug). This fix would still be needed for StackGrowsUp targets, but AMDGPU also needs to scale the increment amount by the wavesize which isn't done here

This revision is now accepted and ready to land.May 27 2020, 10:03 AM