diff options
author | Chuanqi Xu <yedeng.yd@linux.alibaba.com> | 2022-01-18 15:19:50 +0800 |
---|---|---|
committer | Chuanqi Xu <yedeng.yd@linux.alibaba.com> | 2022-01-19 09:52:45 +0800 |
commit | c8ecf12bc3e439a7f6525a430db9ad5ac7a7e1c1 (patch) | |
tree | e42c09fd122e8bf344c8144b29941237ec44e5d4 /lldb/source/Plugins/ScriptInterpreter/Python/PythonReadline.h | |
parent | 76b74236c7f9ee705b38eb8651c26c3f44ad2327 (diff) | |
download | llvm-c8ecf12bc3e439a7f6525a430db9ad5ac7a7e1c1.zip llvm-c8ecf12bc3e439a7f6525a430db9ad5ac7a7e1c1.tar.gz llvm-c8ecf12bc3e439a7f6525a430db9ad5ac7a7e1c1.tar.bz2 |
[Coroutines] Offering llvm.coro.align intrinsic
It is a known problem that we can't align the switch-based coroutine
frame if the alignment exceeds std::max_align_t (which is 16 usually).
We could solve the problem on the middle-end by dynamically transforming
or in the frontend by emitting aligned allocation function.
If we need to solve it in the frontend, the middle end need to offer an
intrinsic to tell the alignment at least. This patch tries to offer such
an intrinsic called llvm.coro.align.
Reviewed By: https://reviews.llvm.org/D117542
Differential revision: https://reviews.llvm.org/D117542
Diffstat (limited to 'lldb/source/Plugins/ScriptInterpreter/Python/PythonReadline.h')
0 files changed, 0 insertions, 0 deletions