[PATCH] D97915: [Coroutines] Handle overaligned frame allocation
Yuanfang Chen via Phabricator via cfe-commits
cfe-commits at lists.llvm.org
Thu Apr 29 20:11:54 PDT 2021
ychen added a comment.
In D97915#2727759 <https://reviews.llvm.org/D97915#2727759>, @ChuanqiXu wrote:
> May I ask a question may be too simple? What if the user specify the alignment for promise (or any other local variables) to 128 or even 256? Since it looks like all the discuss before assumes that the largest alignment requirement is 64.
64 is one example. Bitwise operations (`coro.alloc.align` block in the attached example) should handle all valid alignment numbers.
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D97915/new/
https://reviews.llvm.org/D97915
More information about the cfe-commits
mailing list