[PATCH] D42267: [ThinLTO] Allow 0 to be a valid value for pruning interval for C LTO API.

ben via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Fri Jan 19 05:03:26 PST 2018


bd1976llvm added inline comments.


================
Comment at: tools/llvm-lto/llvm-lto.cpp:161
+    ThinLTOCachePruningInterval("thinlto-cache-pruning-interval", 
+    cl::init(1200), cl::desc("Set ThinLTO cache pruning interval."));
 
----------------
Under what circumstances does this change have an effect? 

I remember that the same default is set in the CachePruningPolicy constructor.


Repository:
  rL LLVM

https://reviews.llvm.org/D42267





More information about the llvm-commits mailing list