[PATCH] D24408: [Coroutines] Part14: Handle coroutines with no suspend points.

David Majnemer via llvm-commits llvm-commits at lists.llvm.org
Sun Sep 25 23:47:42 PDT 2016


majnemer added inline comments.

================
Comment at: lib/Transforms/Coroutines/CoroSplit.cpp:422-423
@@ +421,4 @@
+
+  if (isa<Function>(Callee))
+    return false;
+
----------------
Do we need this check? It seems redundant with the dyn_cast check which follows after.


https://reviews.llvm.org/D24408





More information about the llvm-commits mailing list