ClangBuiltLinux / tc-build

A set of scripts to build LLVM and binutils
Apache License 2.0
219 stars 179 forks source link

tc_build: llvm: Update BOLT flags #252

Closed nathanchance closed 11 months ago

nathanchance commented 11 months ago

Resolves the following warnings when performing BOLT:

BOLT-WARNING: '-reorder-blocks=cache+' is deprecated, please use '-reorder-blocks=ext-tsp' instead BOLT-WARNING: specifying non-boolean value "3" for option -split-functions is deprecated

Which matches the updated docs:

https://github.com/llvm/llvm-project/commit/38fb7d56e543f3cd137a79d6e6331b697ef9f92c https://github.com/llvm/llvm-project/commit/96f6ec5090c2f7a1e4804693cbb84c29c574b3de