miniblog.
← Back to all posts
Mar 1, 2021 at 07:53
4
Rust and LLVM progress in 2021:
https://www.icloud.com/keynote/09ZXbPfbCKm8vCtAnWdfi2xIg
PGO in rustc is showing promise, and the Motorola 68000 LLVM backend was upstreamed just to enable usage in Rust!
rust-llvm-cgo-2021
Shared by Patrick Walton
Wilfred Hughes
4 Likes
Your weary 'net denizen
@cstanhope@social.coop
Maltimore
@maltimore@social.tchncs.de
Reto
@reto@pleroma.labrat.space
Sajith
@sajith@toot.cafe
Related Posts
Sep 5, 2021 at 06:33
Applying PGO to rustc (on both LLVM and the Rust-based frontend) can provide a ~10% improvement to compile time!
https://blog.rust-lang.org/inside-rust/2020/11/11/exploring-pgo-for-the-rust-compiler.html
This has been recently merged to Rust's CI:
Redirect
blog.rust-lang.org/inside-rust/2020/11/11/exploring-pgo-for-the-rust-compiler.html
PGO for LLVM builds on x86_64-unknown-linux-gnu in CI by Mark-Simulacrum · Pull Request #88069 · rust-lang/rust
This shows up to 6% less instruction counts with larger - up to 18% - wins on cycles on multiple benchmarks, and up to 19% wins on the -j1 wall times for rustc self-compilation. We can afford to sp...
Wilfred Hughes
Shared words: Rust, LLVM, PGO, rustc Score: 350.8
Sep 29, 2020 at 06:15
Both the Rust and Zig communities are exploring building their own compiler backends for fast debug builds. Perhaps there's a place for a super-reusable "LLVM lite"?
Wilfred Hughes
Shared words: Rust, LLVM, backend Score: 141.5
Jan 29, 2016 at 19:30
I'm deeply impressed that Rust is not just using LLVM, it's monitoring optimisations and upstreaming improvements!
⚙ D16402 Simplify (x >> y) <= x
reviews.llvm.org/D16402
Wilfred Hughes
Shared words: Rust, LLVM, just Score: 115.9