summaryrefslogtreecommitdiff
path: root/bolt/docs/CommandLineArgumentReference.md
diff options
context:
space:
mode:
authorMichael Kruse <llvm-project@meinersbur.de>2025-01-03 10:22:51 +0100
committerMichael Kruse <llvm-project@meinersbur.de>2025-01-03 10:22:51 +0100
commit38500d63e14ce340236840f60d356cdefb56a52c (patch)
tree17edbec446ce9b50d2f215a483b83afb293a635d /bolt/docs/CommandLineArgumentReference.md
parent1a3d5daaef7a6a63448a497da3eff7fc9e23df26 (diff)
parent27f30029741ecf023baece7b3dde1ff9011ffefc (diff)
Merge branch 'main' into users/meinersbur/flang_runtime_split-headersusers/meinersbur/flang_runtime_split-headers
Diffstat (limited to 'bolt/docs/CommandLineArgumentReference.md')
-rw-r--r--bolt/docs/CommandLineArgumentReference.md14
1 files changed, 4 insertions, 10 deletions
diff --git a/bolt/docs/CommandLineArgumentReference.md b/bolt/docs/CommandLineArgumentReference.md
index 6d3b797da378..f3881c9a640a 100644
--- a/bolt/docs/CommandLineArgumentReference.md
+++ b/bolt/docs/CommandLineArgumentReference.md
@@ -498,9 +498,12 @@
Automatically put hot code on 2MB page(s) (hugify) at runtime. No manual call
to hugify is needed in the binary (which is what --hot-text relies on).
-- `--icf`
+- `--icf=<value>`
Fold functions with identical code
+ - `all`: Enable identical code folding
+ - `none`: Disable identical code folding (default)
+ - `safe`: Enable safe identical code folding
- `--icp`
@@ -928,15 +931,6 @@
Remove redundant Address-Size override prefix
-### BOLT options in relocation mode:
-
-- `--align-macro-fusion=<value>`
-
- Fix instruction alignment for macro-fusion (x86 relocation mode)
- - `none`: do not insert alignment no-ops for macro-fusion
- - `hot`: only insert alignment no-ops on hot execution paths (default)
- - `all`: always align instructions to allow macro-fusion
-
### BOLT instrumentation options:
`llvm-bolt <executable> -instrument [-o outputfile] <instrumented-executable>`