Skip to content

Commit bc594f7

Browse files
Auto merge of #112049 - Kobzol:pgo-omit-benchmarks, r=<try>
[do not merge] CI experiments
2 parents ade8487 + eb9206b commit bc594f7

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

src/tools/opt-dist/src/bolt.rs

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -88,7 +88,10 @@ pub fn bolt_optimize(
8888
// FIXME(kobzol): try to re-enable this once BOLT in-place rewriting is merged or after
8989
// we bump LLVM.
9090
// Try to reuse old text segments to reduce binary size
91-
// .arg("--use-old-text")
91+
.arg("--use-old-text")
92+
.arg("--no-huge-pages")
93+
.arg("--align-text=64")
94+
.arg("--align-functions=2")
9295
// Update DWARF debug info in the final binary
9396
.arg("-update-debug-sections")
9497
// Print optimization statistics

0 commit comments

Comments
 (0)