Skip to content

Commit 05cd596

Browse files
spastorinoJohnTitor
authored andcommitted
Fix MIR to LLVM IR sentence (#811)
1 parent 122d552 commit 05cd596

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

src/overview.md

+4-4
Original file line numberDiff line numberDiff line change
@@ -87,10 +87,10 @@ we'll talk about that later.
8787
- We then begin what is vaguely called _code generation_ or _codegen_.
8888
- The [code generation stage (codegen)][codegen] is when higher level
8989
representations of source are turned into an executable binary. `rustc`
90-
uses LLVM for code generation. The first step is the MIR is then
91-
converted to LLVM Intermediate Representation (LLVM IR). This is where
92-
the MIR is actually monomorphized, according to the list we created in
93-
the previous step.
90+
uses LLVM for code generation. The first step is to convert the MIR
91+
to LLVM Intermediate Representation (LLVM IR). This is where the MIR
92+
is actually monomorphized, according to the list we created in the
93+
previous step.
9494
- The LLVM IR is passed to LLVM, which does a lot more optimizations on it.
9595
It then emits machine code. It is basically assembly code with additional
9696
low-level types and annotations added. (e.g. an ELF object or wasm).

0 commit comments

Comments
 (0)