Auto merge of #110403 - klensy:bolt-deprecate, r=albertlarsan68,Kobzol

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 96f6ec5090.

bolt only running on latest supported llvm (yes?), so it's safe to apply this patch.
cc `@Kobzol`
This commit is contained in:
bors 2023-04-18 01:00:55 +00:00
commit e279f902f3

View File

@ -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