[PATCH] D53835: [HotColdSplitting] Use TTI to inform outlining threshold

Sebastian Pop via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Mon Oct 29 15:56:32 PDT 2018


sebpop accepted this revision.
sebpop added a comment.
This revision is now accepted and ready to land.

Looks good to me.



================
Comment at: llvm/lib/Transforms/IPO/HotColdSplitting.cpp:70
+static cl::opt<int>
+    MinOutliningThreshold("min-outlining-thresh", cl::init(3), cl::Hidden,
+                          cl::desc("Code size threshold for outlining within a "
----------------
You may want to tune the magic constant 3 for the new way of computing code size.


https://reviews.llvm.org/D53835





More information about the llvm-commits mailing list