HomePhabricator

[coro async] Cap the alignment of spilled values (vs. allocas) at the max…

Authored by aschwaighofer on Jul 7 2021, 6:21 AM.

Description

[coro async] Cap the alignment of spilled values (vs. allocas) at the max frame alignment

Before this patch we would normally use the ABI alignment which can be
to high for the context alginment.

For spilled values we don't need ABI alignment, since the frame entry's
address is not escaped.

rdar://79664965

Differential Revision: https://reviews.llvm.org/D105288