Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

PGO for LLVM builds on x86_64-unknown-linux-gnu in CI #88069

Merged
merged 3 commits into from
Aug 26, 2021

Commits on Aug 24, 2021

  1. PGO for LLVM builds on x86_64-unknown-linux-gnu in CI

    This shows up to 5% less instruction counts on multiple benchmarks, and up to
    19% wins on the -j1 wall times for rustc self-compilation.
    
    We can afford to spend the extra cycles building LLVM essentially once more for
    the x86_64-unknown-linux-gnu CI build today. The builder finishes in around 50
    minutes on average, and this adds just 10 more minutes. Given the sizeable
    improvements in compiler performance, this is definitely worth it.
    Mark-Simulacrum committed Aug 24, 2021
    Configuration menu
    Copy the full SHA
    451abd3 View commit details
    Browse the repository at this point in the history

Commits on Aug 25, 2021

  1. Bump sccache used in CI to v0.2.15

    This skips bumping Windows sccache because we run into compilation failures when
    doing so (-m32 not supported by clang-cl?). Not clear on cause, but seems
    easiest to just hold back.
    
    This should avoid PGO-related failures encountered on Linux, and more broadly
    seems like a good idea on other platforms as well (though it is likely not
    necessary right this moment).
    Mark-Simulacrum committed Aug 25, 2021
    Configuration menu
    Copy the full SHA
    21d8d5f View commit details
    Browse the repository at this point in the history
  2. Bump download-ci-llvm stamp

    This will ensure the optimized LLVM is used for local builds after rebasing
    immediately, rather than needing to wait for a future LLVM bump.
    Mark-Simulacrum committed Aug 25, 2021
    Configuration menu
    Copy the full SHA
    1ea8d93 View commit details
    Browse the repository at this point in the history