[llvm] [CodeLayout] cache-directed sort: limit max chain size (PR #69039)

Fangrui Song via llvm-commits llvm-commits at lists.llvm.org
Mon Oct 16 17:38:28 PDT 2023


================
@@ -62,6 +62,12 @@ cl::opt<bool> ApplyExtTspWithoutProfile(
     "ext-tsp-apply-without-profile",
     cl::desc("Whether to apply ext-tsp placement for instances w/o profile"),
     cl::init(true), cl::Hidden);
+
+namespace codelayout {
+cl::opt<unsigned>
+    CDMaxChainSize("cds-max-chain-size", cl::Hidden, cl::init(128),
----------------
MaskRay wrote:

Renamed to `cdsort-max-chain-size` in 9403e71c4270bf830384b43b5c8deff13e1bf3d3

https://github.com/llvm/llvm-project/pull/69039


More information about the llvm-commits mailing list