This is an archive of the discontinued LLVM Phabricator instance.

AMDGPU: Fix not respecting byval alignment in call frame setup
ClosedPublic

Authored by arsenm on Aug 22 2018, 3:37 AM.

Details

Summary

This was hackily adding in the 4-bytes reserved for the callee's
emergency stack slot. Treat it like a normal stack allocation
so we get the correct alignment padding behavior. This fixes
an inconsistency between the caller and callee.

Diff Detail

Event Timeline

arsenm created this revision.Aug 22 2018, 3:37 AM
This revision is now accepted and ready to land.Aug 22 2018, 3:42 AM
arsenm closed this revision.Aug 22 2018, 4:10 AM

r340396