[PATCH] D22847: [coroutines] Part 3 of N: Adding Boilerplate for Coroutine Passes

Gor Nishanov via llvm-commits llvm-commits at lists.llvm.org
Wed Jul 27 00:37:43 PDT 2016


GorNishanov created this revision.
GorNishanov added reviewers: majnemer, hfinkel.
GorNishanov added a subscriber: llvm-commits.
Herald added a subscriber: mehdi_amini.

This is the third patch in the coroutine series. It adds boilerplate code for all coroutine passes that do absolutely nothing and adds a small test to verify that passes execute in expected order or not at all if not enabled.

Documentation and overview is here: http://llvm.org/docs/Coroutines.html.

Upstreaming sequence (rough plan)
1.Add documentation. (https://reviews.llvm.org/D22603)
2.Add coroutine intrinsics. (https://reviews.llvm.org/D22659)
3.Add empty coroutine passes.  <= we are here
4.Add coroutine devirtualization + tests.
5.Add CGSCC restart trigger + tests.
6.Add coroutine heap elision + tests.
7.Add the rest of the logic (split into more patches)


https://reviews.llvm.org/D22847

Files:
  docs/Coroutines.rst
  include/llvm/InitializePasses.h
  include/llvm/Transforms/Coroutines.h
  include/llvm/Transforms/IPO/PassManagerBuilder.h
  lib/Transforms/CMakeLists.txt
  lib/Transforms/Coroutines/CMakeLists.txt
  lib/Transforms/Coroutines/CoroCleanup.cpp
  lib/Transforms/Coroutines/CoroEarly.cpp
  lib/Transforms/Coroutines/CoroElide.cpp
  lib/Transforms/Coroutines/CoroInternal.h
  lib/Transforms/Coroutines/CoroSplit.cpp
  lib/Transforms/Coroutines/Coroutines.cpp
  lib/Transforms/Coroutines/LLVMBuild.txt
  lib/Transforms/IPO/PassManagerBuilder.cpp
  lib/Transforms/LLVMBuild.txt
  test/Transforms/Coroutines/smoketest.ll
  tools/opt/CMakeLists.txt
  tools/opt/opt.cpp

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D22847.65675.patch
Type: text/x-patch
Size: 19335 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20160727/6a1fe104/attachment.bin>


More information about the llvm-commits mailing list