From 8598ac59114eea15dbf1731b51177b340124e739 Mon Sep 17 00:00:00 2001 From: Rafael Auler Date: Mon, 3 Nov 2025 14:41:16 -0800 Subject: [PATCH] Update BOLT's README.md example optimization flag Drop hfsort in favor of a more modern function reordering algorithm. --- bolt/README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/bolt/README.md b/bolt/README.md index 902d1eb6e7694..55f742c5019f5 100644 --- a/bolt/README.md +++ b/bolt/README.md @@ -173,7 +173,7 @@ Once you have `perf.fdata` ready, you can use it for optimizations with BOLT. Assuming your environment is setup to include the right path, execute `llvm-bolt`: ``` -$ llvm-bolt -o .bolt -data=perf.fdata -reorder-blocks=ext-tsp -reorder-functions=hfsort -split-functions -split-all-cold -split-eh -dyno-stats +$ llvm-bolt -o .bolt -data=perf.fdata -reorder-blocks=ext-tsp -reorder-functions=cdsort -split-functions -split-all-cold -split-eh -dyno-stats ``` If you do need an updated debug info, then add `-update-debug-sections` option