summary refs log tree commit diff
path: root/src/doc/rustc-dev-guide
diff options
context:
space:
mode:
authorSantiago Pastorino <spastorino@gmail.com>2020-07-27 17:03:37 -0300
committerGitHub <noreply@github.com>2020-07-28 05:03:37 +0900
commit1488e6b613de678ad709dad233a0c93e5b42cdbe (patch)
tree916851b9e9b4a6950c64407fc5308ca8486a56b2 /src/doc/rustc-dev-guide
parentc276f8a91a7f5d4249a9ea7f204aaf1a4781315f (diff)
downloadrust-1488e6b613de678ad709dad233a0c93e5b42cdbe.tar.gz
rust-1488e6b613de678ad709dad233a0c93e5b42cdbe.zip
Fix MIR to LLVM IR sentence (#811)
Diffstat (limited to 'src/doc/rustc-dev-guide')
-rw-r--r--src/doc/rustc-dev-guide/src/overview.md8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/doc/rustc-dev-guide/src/overview.md b/src/doc/rustc-dev-guide/src/overview.md
index 15946edc41a..eb774b11338 100644
--- a/src/doc/rustc-dev-guide/src/overview.md
+++ b/src/doc/rustc-dev-guide/src/overview.md
@@ -87,10 +87,10 @@ we'll talk about that later.
 - We then begin what is vaguely called _code generation_ or _codegen_.
   - The [code generation stage (codegen)][codegen] is when higher level
     representations of source are turned into an executable binary. `rustc`
-      uses LLVM for code generation.  The first step is the MIR is then
-    converted to LLVM Intermediate Representation (LLVM IR). This is where
-    the MIR is actually monomorphized, according to the list we created in
-    the previous step.
+    uses LLVM for code generation. The first step is to convert the MIR
+    to LLVM Intermediate Representation (LLVM IR). This is where the MIR
+    is actually monomorphized, according to the list we created in the
+    previous step.
   - The LLVM IR is passed to LLVM, which does a lot more optimizations on it.
     It then emits machine code. It is basically assembly code with additional
     low-level types and annotations added. (e.g. an ELF object or wasm).