forked from OSchip/llvm-project
04491bd8f3
Summary: We don't want to store cleanup dest slot saved into the coroutine frame (as some of the cleanup code may access them after coroutine frame destroyed). This is an alternative to https://reviews.llvm.org/D37093 It is possible to do this for all functions, but, cursory check showed that in -O0, we get slightly longer function (by 1-3 instructions), thus, we are only limiting cleanup.dest.slot elimination to coroutines. Reviewers: rjmccall, hfinkel, eric_niebler Reviewed By: eric_niebler Subscribers: EricWF, cfe-commits Differential Revision: https://reviews.llvm.org/D39768 llvm-svn: 317981 |
||
---|---|---|
.. | ||
Inputs | ||
coro-alloc.cpp | ||
coro-await-domination.cpp | ||
coro-await.cpp | ||
coro-builtins-err.c | ||
coro-builtins.c | ||
coro-cleanup.cpp | ||
coro-dest-slot.cpp | ||
coro-eh-cleanup.cpp | ||
coro-gro.cpp | ||
coro-lambda.cpp | ||
coro-params.cpp | ||
coro-promise-dtor.cpp | ||
coro-ret-void.cpp | ||
coro-return.cpp | ||
coro-unhandled-exception.cpp | ||
microsoft-abi-operator-coawait.cpp |