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

Chandler Carruth via llvm-commits llvm-commits at lists.llvm.org
Wed Jul 27 18:03:34 PDT 2016


chandlerc added a comment.

(tiny comment below just about factoring of patches)


================
Comment at: include/llvm/Transforms/IPO/PassManagerBuilder.h:103-107
@@ -102,2 +102,7 @@
     EP_Peephole,
+
+    /// EP_CGSCCOptimizerLate - This extension point allows adding CallGraphSCC
+    /// passes at the end of the main CallGraphSCC passes and before any
+    /// function simplification passes run by CGPassManager.
+    EP_CGSCCOptimizerLate,
   };
----------------
FWIW, I think this is independent of the coroutines stuff, and I'd suggest splitting it out and sending it separately.

(And FWIW, I'm very much in favor of the general idea.)


https://reviews.llvm.org/D22847





More information about the llvm-commits mailing list