[PATCH] D32249: [PartialInl] Enhance partial inliner to handle more complex conditions

David Li via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Wed Apr 26 14:33:57 PDT 2017


davidxl marked 2 inline comments as done.
davidxl added inline comments.


================
Comment at: lib/Transforms/IPO/PartialInlining.cpp:42
+static cl::opt<unsigned> MaxNumInlineBlocks(
+    "max-num-inline-blocks", cl::init(5), cl::Hidden,
+    cl::desc("Max Number of Blocks  To be Partially Inlined"));
----------------
eraman wrote:
> Expressing this as instructions will make this somewhat similar to inlining cost.
This will be done in a follow up patch before the final patch that turn it on.


https://reviews.llvm.org/D32249





More information about the llvm-commits mailing list