Dynamic allocas that still exist have been verified to be only used
'locally' not accross a suspend point.
rdar://73903220
Paths
| Differential D96071
We can only move static allocas into the resume entry points ClosedPublic Authored by aschwaighofer on Feb 4 2021, 11:54 AM.
Details Summary Dynamic allocas that still exist have been verified to be only used rdar://73903220
Diff Detail
Event TimelineComment Actions The idea in this test case is that this gets lowered to a dynamic alloca before the code that adjusts for the entry point sees it? That might be worth spelling out in the test case. Otherwise LGTM. This revision is now accepted and ready to land.Feb 4 2021, 1:08 PM This revision was landed with ongoing or failed builds.Feb 5 2021, 6:08 AM Closed by commit rG8a7f5ad0fdbc: We can only move static allocas into the resume entry points (authored by aschwaighofer). · Explain Why This revision was automatically updated to reflect the committed changes.
Revision Contents
Diff 321731 llvm/lib/Transforms/Coroutines/CoroSplit.cpp
llvm/test/Transforms/Coroutines/coro-retcon-alloca.ll
|