forked from OSchip/llvm-project
c8ecf12bc3
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 |
||
---|---|---|
.. | ||
CMakeLists.txt | ||
CoroCleanup.cpp | ||
CoroEarly.cpp | ||
CoroElide.cpp | ||
CoroFrame.cpp | ||
CoroInstr.h | ||
CoroInternal.h | ||
CoroSplit.cpp | ||
Coroutines.cpp |