File tree 1 file changed +2
-2
lines changed
1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -66,6 +66,8 @@ pub fn bolt_optimize(path: &Utf8Path, profile: &BoltProfile) -> anyhow::Result<(
66
66
// Split function code into hot and code regions
67
67
. arg ( "-split-functions" )
68
68
// Split as many basic blocks as possible
69
+ . arg ( "-split-all-cold" )
70
+ // Move jump tables to a separate section
69
71
. arg ( "-jump-tables=move" )
70
72
// Fold functions with identical code
71
73
. arg ( "-icf=1" )
@@ -76,8 +78,6 @@ pub fn bolt_optimize(path: &Utf8Path, profile: &BoltProfile) -> anyhow::Result<(
76
78
// Inline functions smaller than 32 bytes
77
79
. arg ( "-inline-small-functions" )
78
80
. arg ( "-inline-small-functions-bytes=32" )
79
- // Perform peephole optimizations
80
- . arg ( "-peepholes=all" )
81
81
// The following flag saves about 50 MiB of libLLVM.so size.
82
82
// However, it succeeds very non-deterministically. To avoid frequent artifact size swings,
83
83
// it is kept disabled for now.
You can’t perform that action at this time.
0 commit comments