[PATCH] D23844: [Coroutines] Part 9: Add cleanup subfunction.

Gor Nishanov via llvm-commits llvm-commits at lists.llvm.org
Sun Aug 28 20:54:00 PDT 2016


GorNishanov updated this revision to Diff 69527.
GorNishanov added a comment.

Simplify shouldElide() to just check that for every coro.begin there is a coro.destroy referencing it directly.


https://reviews.llvm.org/D23844

Files:
  docs/Coroutines.rst
  include/llvm/IR/Intrinsics.td
  lib/IR/Verifier.cpp
  lib/Transforms/Coroutines/CoroEarly.cpp
  lib/Transforms/Coroutines/CoroElide.cpp
  lib/Transforms/Coroutines/CoroFrame.cpp
  lib/Transforms/Coroutines/CoroInstr.h
  lib/Transforms/Coroutines/CoroInternal.h
  lib/Transforms/Coroutines/CoroSplit.cpp
  lib/Transforms/Coroutines/Coroutines.cpp
  test/Transforms/Coroutines/coro-elide.ll
  test/Transforms/Coroutines/coro-heap-elide.ll
  test/Transforms/Coroutines/coro-split-00.ll
  test/Transforms/Coroutines/coro-split-01.ll
  test/Transforms/Coroutines/ex0.ll
  test/Transforms/Coroutines/ex1.ll
  test/Transforms/Coroutines/ex2.ll
  test/Transforms/Coroutines/ex3.ll
  test/Transforms/Coroutines/restart-trigger.ll

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D23844.69527.patch
Type: text/x-patch
Size: 40916 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20160829/5b17e31e/attachment.bin>


More information about the llvm-commits mailing list