[Coroutines] Make sure that async coroutine context size is a multiple of the alignme...
authorArnold Schwaighofer <aschwaighofer@apple.com>
Sat, 14 Nov 2020 01:57:22 +0000 (17:57 -0800)
committerArnold Schwaighofer <aschwaighofer@apple.com>
Sat, 14 Nov 2020 12:56:56 +0000 (04:56 -0800)
commit8fb73cecfd1a1c0367759721566a91d320f76d8b
treed4b7e04cdb4f7f5fb971cccac2e0895f3230616e
parentdb6f7e0e9ec20049bfbb7c965baa90e1b9e56d3f
[Coroutines] Make sure that async coroutine context size is a multiple of the alignment requirement

This simplifies the code the allocator has to executed

Differential Revision: https://reviews.llvm.org/D91471
llvm/lib/Transforms/Coroutines/CoroFrame.cpp
llvm/test/Transforms/Coroutines/coro-async.ll