summaryrefslogtreecommitdiffstats
path: root/compiler/rustc_codegen_llvm/README.md
diff options
context:
space:
mode:
Diffstat (limited to 'compiler/rustc_codegen_llvm/README.md')
-rw-r--r--compiler/rustc_codegen_llvm/README.md7
1 files changed, 7 insertions, 0 deletions
diff --git a/compiler/rustc_codegen_llvm/README.md b/compiler/rustc_codegen_llvm/README.md
new file mode 100644
index 000000000..afec60d01
--- /dev/null
+++ b/compiler/rustc_codegen_llvm/README.md
@@ -0,0 +1,7 @@
+The `codegen` crate contains the code to convert from MIR into LLVM IR,
+and then from LLVM IR into machine code. In general it contains code
+that runs towards the end of the compilation process.
+
+For more information about how codegen works, see the [rustc dev guide].
+
+[rustc dev guide]: https://rustc-dev-guide.rust-lang.org/backend/codegen.html