diff options
| author | Sebastian Neubauer <Sebastian.Neubauer@amd.com> | 2022-11-14 10:46:46 +0100 |
|---|---|---|
| committer | Sebastian Neubauer <Sebastian.Neubauer@amd.com> | 2022-11-14 10:46:46 +0100 |
| commit | ce879a03c9798aac0c3f246a250241087fb49e5c (patch) | |
| tree | ed0170957ef4ec1fb7d420115ee18340ee51a44a /llvm/lib/Bitcode/Reader/BitcodeReader.cpp | |
| parent | 0387679e3ea2adfa12098a0ba1817180e56c4555 (diff) | |
[Coroutines] Do not add allocas for retcon coroutines
Same as for async-style lowering, if there are no resume points in a
function, the coroutine frame pointer will be replaced by an undef,
making all accesses to the frame undefinde behavior.
Fix this by not adding allocas to the coroutine frame if there are no
resume points.
Differential Revision: https://reviews.llvm.org/D137866
Diffstat (limited to 'llvm/lib/Bitcode/Reader/BitcodeReader.cpp')
0 files changed, 0 insertions, 0 deletions
