summaryrefslogtreecommitdiff
path: root/bolt/docs
diff options
context:
space:
mode:
authorFabian Parzefall <parzefall@fb.com>2022-06-24 17:00:20 -0700
committerMaksim Panchenko <maks@fb.com>2022-06-24 17:01:13 -0700
commit96f6ec5090c2f7a1e4804693cbb84c29c574b3de (patch)
tree4dc108eb8ab402d1c4d67eab1fc7e7a137e59675 /bolt/docs
parentd72d48803921551604f49db1ee72aa0ae9e57611 (diff)
downloadllvm-96f6ec5090c2f7a1e4804693cbb84c29c574b3de.tar.gz
[BOLT] Mark option values of --split-functions deprecated
The SplitFunctions pass does not distinguish between various splitting modes anymore. This change updates the command line interface to reflect this behavior by deprecating values passed to the --split-function option. Reviewed By: rafauler Differential Revision: https://reviews.llvm.org/D128558
Diffstat (limited to 'bolt/docs')
-rw-r--r--bolt/docs/OptimizingClang.md2
1 files changed, 1 insertions, 1 deletions
diff --git a/bolt/docs/OptimizingClang.md b/bolt/docs/OptimizingClang.md
index 4bbc757d59d5..ff7e71b6a76b 100644
--- a/bolt/docs/OptimizingClang.md
+++ b/bolt/docs/OptimizingClang.md
@@ -64,7 +64,7 @@ Notice that we are passing `clang-7` to `perf2bolt` which is the real binary tha
the generated profile:
```bash
$ llvm-bolt $CPATH/clang-7 -o $CPATH/clang-7.bolt -b clang-7.yaml \
- -reorder-blocks=ext-tsp -reorder-functions=hfsort+ -split-functions=3 \
+ -reorder-blocks=ext-tsp -reorder-functions=hfsort+ -split-functions \
-split-all-cold -dyno-stats -icf=1 -use-gnu-stack
```
The output will look similar to the one below: