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

via llvm-commits llvm-commits at lists.llvm.org
Mon Oct 16 16:25:00 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),
----------------
spupyrev wrote:

`cdsort-max-chain-size` maybe?

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


More information about the llvm-commits mailing list