[PATCH] D100739: [Coroutines] Handle overaligned frame allocation (2)

Chuanqi Xu via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Mon Apr 26 19:17:53 PDT 2021


ChuanqiXu added a comment.

In D100739#2717582 <https://reviews.llvm.org/D100739#2717582>, @rjmccall wrote:

> That's not really what I meant, no. I meant it would be better to find a way to use an allocator that promises to return a well-aligned value when possible. We've talked about this before; that will require the C++ committee to update the design.

I had a question. Does this mean we can't use aligned allocator until the C++ committee update the wording? For example, I know Clang/LLVM implement coroutine before it becomes the standard. I mean is it possible to use aligned-allocator to solve the problem here?


Repository:
  rG LLVM Github Monorepo

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D100739/new/

https://reviews.llvm.org/D100739



More information about the cfe-commits mailing list