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