[PATCH] D63144: [coroutines] Add missing pass dependency.

Gor Nishanov via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Tue Jun 18 12:46:28 PDT 2019


This revision was automatically updated to reflect the committed changes.
Closed by commit rL363727: [coroutines] Add missing pass dependency. (authored by GorNishanov, committed by ).

Changed prior to commit:
  https://reviews.llvm.org/D63144?vs=204084&id=205419#toc

Repository:
  rL LLVM

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D63144/new/

https://reviews.llvm.org/D63144

Files:
  llvm/trunk/lib/Transforms/Coroutines/CoroSplit.cpp


Index: llvm/trunk/lib/Transforms/Coroutines/CoroSplit.cpp
===================================================================
--- llvm/trunk/lib/Transforms/Coroutines/CoroSplit.cpp
+++ llvm/trunk/lib/Transforms/Coroutines/CoroSplit.cpp
@@ -946,7 +946,12 @@
 
 char CoroSplit::ID = 0;
 
-INITIALIZE_PASS(
+INITIALIZE_PASS_BEGIN(
+    CoroSplit, "coro-split",
+    "Split coroutine into a set of functions driving its state machine", false,
+    false)
+INITIALIZE_PASS_DEPENDENCY(CallGraphWrapperPass)
+INITIALIZE_PASS_END(
     CoroSplit, "coro-split",
     "Split coroutine into a set of functions driving its state machine", false,
     false)


-------------- next part --------------
A non-text attachment was scrubbed...
Name: D63144.205419.patch
Type: text/x-patch
Size: 646 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20190618/0dd6a848/attachment.bin>


More information about the llvm-commits mailing list