diff options
author | Gor Nishanov <GorNishanov@gmail.com> | 2016-09-05 23:45:45 +0000 |
---|---|---|
committer | Gor Nishanov <GorNishanov@gmail.com> | 2016-09-05 23:45:45 +0000 |
commit | ccabaca2737b54dea1e5020f76b16991733de45e (patch) | |
tree | 3b9f4f0ad9689c7687e5a1167a97418069769323 /lldb/packages/Python/lldbsuite/test/python_api/thread/main.cpp | |
parent | eea2ef7862e0be7368a74b142d5d87f700b02a8d (diff) | |
download | bcm5719-llvm-ccabaca2737b54dea1e5020f76b16991733de45e.tar.gz bcm5719-llvm-ccabaca2737b54dea1e5020f76b16991733de45e.zip |
[Coroutines] Part12: Handle alloca address-taken
Summary:
Move early uses of spilled variables after CoroBegin.
For example, if a parameter had address taken, we may end up with the code
like:
define @f(i32 %n) {
%n.addr = alloca i32
store %n, %n.addr
...
call @coro.begin
This patch fixes the problem by moving uses of spilled variables after CoroBegin.
Reviewers: majnemer
Subscribers: mehdi_amini, llvm-commits
Differential Revision: https://reviews.llvm.org/D24234
llvm-svn: 280678
Diffstat (limited to 'lldb/packages/Python/lldbsuite/test/python_api/thread/main.cpp')
0 files changed, 0 insertions, 0 deletions