aboutsummaryrefslogtreecommitdiff
path: root/llvm/lib/Target/WebAssembly/WebAssemblyTargetMachine.cpp
diff options
context:
space:
mode:
authorArnold Schwaighofer <aschwaighofer@apple.com>2020-06-02 07:19:22 -0700
committerArnold Schwaighofer <aschwaighofer@apple.com>2020-06-03 12:10:58 -0700
commit2e4c5d1c483a986dbb3fc6486bdb2f0eb2adc8c8 (patch)
treee9ae2498f044fcae65494efcd075a48dbacb9223 /llvm/lib/Target/WebAssembly/WebAssemblyTargetMachine.cpp
parentc2e27ac1ce3e3141f9cf0c4f6982cd56347bc323 (diff)
downloadllvm-2e4c5d1c483a986dbb3fc6486bdb2f0eb2adc8c8.zip
llvm-2e4c5d1c483a986dbb3fc6486bdb2f0eb2adc8c8.tar.gz
llvm-2e4c5d1c483a986dbb3fc6486bdb2f0eb2adc8c8.tar.bz2
CoroSplit: Fix coroutine splitting for retcon and retcon.once
Summary: For retcon and retcon.once coroutines we assume that all uses of spills can be sunk past coro.begin. This simplifies handling of instructions that escape the address of an alloca. The current implementation would have issues if the address of the alloca is escaped before coro.begin. (It also has issues with casts before and uses of those casts after the coro.begin instruction) %alloca_addr = alloca ... %escape = ptrtoint %alloca_addr coro.begin store %escape to %alloca_addr rdar://60272809 Subscribers: hiraditya, modocache, mgrang, llvm-commits Tags: #llvm Differential Revision: https://reviews.llvm.org/D81023
Diffstat (limited to 'llvm/lib/Target/WebAssembly/WebAssemblyTargetMachine.cpp')
0 files changed, 0 insertions, 0 deletions