└── README.md /README.md: -------------------------------------------------------------------------------- 1 | # Rust's fork of LLVM 2 | 3 | This repository is a Rust-specific fork of LLVM. This is used as a submodule in 4 | the https://github.com/rust-lang/rust repository. The Rust repository is always 5 | pinned to a branch of this repository, and the `master` branch of this 6 | repository is not used. 7 | 8 | Despite this being a "fork" it's more of just a place where we can easily tweak 9 | the LLVM source for Rust's own build. All patches should by default go upstream 10 | first, and then we can cherry-pick them onto our branches if necessary. 11 | 12 | To learn more about updating LLVM in the Rust compiler, consult the 13 | [documentation for doing so in 14 | `rustc-guide`](https://rustc-dev-guide.rust-lang.org/backend/updating-llvm.html) 15 | --------------------------------------------------------------------------------