rust/compiler/rustc_interface/src
bors 35debd4c11 Auto merge of #77975 - bjorn3:cg_clif_subtree3, r=Mark-Simulacrum
Add cg_clif as optional codegen backend

Rustc_codegen_cranelift is an alternative codegen backend for rustc based on Cranelift. It has the potential to improve compilation times in debug mode. In my experience the compile time improvements over debug mode LLVM for a clean build are about 20-30% in most cases.

This PR adds cg_clif as optional codegen backend. By default it is only enabled for `./x.py check`. It can be enabled for `./x.py build` too by adding `cranelift` to the `rust.codegen-backends` array in `config.toml`.

MCP: https://github.com/rust-lang/compiler-team/issues/270

r? `@Mark-Simulacrum`
2020-10-26 16:31:38 +00:00
..
callbacks.rs
interface.rs Add option to pass a custom codegen backend from a driver 2020-09-27 14:16:42 +02:00
lib.rs datastructures: replace once_cell crate with an impl from std 2020-08-30 20:06:14 +01:00
passes.rs Strip tokens before printing AST JSON 2020-10-21 19:44:33 -04:00
proc_macro_decls.rs
queries.rs Use fixed type for CodegenResults 2020-10-10 16:18:36 +02:00
tests.rs Auto merge of #76830 - Artoria2e5:tune, r=nagisa 2020-10-13 02:49:00 +00:00
util.rs Add support for using cg_clif to bootstrap rustc 2020-10-26 09:52:59 +01:00