[PATCH] D22998: [coroutines] Part 4a: Coroutine Devirtualization: Lower coro.resume and coro.destroy.
Gor Nishanov via llvm-commits
llvm-commits at lists.llvm.org
Thu Aug 4 04:53:22 PDT 2016
GorNishanov updated this revision to Diff 66787.
GorNishanov added a comment.
Switch to using
declaresIntrinsics(M, {"llvm.coro.resume", "llvm.coro.destroy"})
helper function that validates that there is a named value in the module and that the name is one of the coroutine intrinsics (in debug mode).
https://reviews.llvm.org/D22998
Files:
include/llvm/IR/CallSite.h
lib/IR/Verifier.cpp
lib/Transforms/Coroutines/CoroEarly.cpp
lib/Transforms/Coroutines/CoroInstr.h
lib/Transforms/Coroutines/CoroInternal.h
lib/Transforms/Coroutines/Coroutines.cpp
test/Transforms/Coroutines/coro-early.ll
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D22998.66787.patch
Type: text/x-patch
Size: 12863 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20160804/161fab7c/attachment.bin>
More information about the llvm-commits
mailing list