]> granicus.if.org Git - llvm/commit
Add intrinsics for doing frame-bound dynamic allocations within a coroutine.
authorJohn McCall <rjmccall@apple.com>
Wed, 14 Aug 2019 03:53:40 +0000 (03:53 +0000)
committerJohn McCall <rjmccall@apple.com>
Wed, 14 Aug 2019 03:53:40 +0000 (03:53 +0000)
commit7989d368929049a5d044730dd973154fdba9ea43
tree7e390eac3d470759109e97d23ce1e2766da227f5
parent1874e72958ae1b7384f139c7fbf0488b93203172
Add intrinsics for doing frame-bound dynamic allocations within a coroutine.

These rely on having an allocator provided to the coroutine and thus,
for now, only work in retcon lowerings.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@368791 91177308-0d34-0410-b5e6-96231b3b80d8
include/llvm/IR/Intrinsics.td
lib/Transforms/Coroutines/CoroFrame.cpp
lib/Transforms/Coroutines/CoroInstr.h
lib/Transforms/Coroutines/Coroutines.cpp
test/Transforms/Coroutines/coro-retcon-alloca.ll [new file with mode: 0644]