Skip to content

Commit

Permalink
Auto merge of #110403 - klensy:bolt-deprecate, r=albertlarsan68,Kobzol
Browse files Browse the repository at this point in the history
bolt: remove deprecated option value for split-functions

Noticed warning at https://github.com/rust-lang-ci/rust/actions/runs/4711883459/jobs/8356538964#step:26:40828, option value was removed at llvm/llvm-project@96f6ec5.

bolt only running on latest supported llvm (yes?), so it's safe to apply this patch.
cc `@Kobzol`
  • Loading branch information
bors committed Apr 18, 2023
2 parents 7908a1d + e4a9d13 commit e279f90
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/bootstrap/bolt.rs
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ pub fn optimize_with_bolt(path: &Path, profile_path: &Path, output_path: &Path)
// Reorder functions within the binary
.arg("-reorder-functions=hfsort+")
// Split function code into hot and code regions
.arg("-split-functions=2")
.arg("-split-functions")
// Split as many basic blocks as possible
.arg("-split-all-cold")
// Move jump tables to a separate section
Expand Down

0 comments on commit e279f90

Please sign in to comment.