rust/compiler/rustc_codegen_llvm
Luqman Aden bf3ef0da0c Switch to the 'normal' basic block for writing asm outputs if needed.
We may sometimes emit an `invoke` instead of a `call` for inline
assembly during the MIR -> LLVM IR lowering. But we failed to update
the IR builder's current basic block before writing the results to the
outputs. This would result in invalid IR because the basic block would
end in a `store` instruction, which isn't a valid terminator.
2022-04-09 15:25:46 -04:00
..
src Switch to the 'normal' basic block for writing asm outputs if needed. 2022-04-09 15:25:46 -04:00
Cargo.toml debuginfo: Simplify TypeMap used during LLVM debuginfo generation. 2022-02-21 13:03:36 +01:00
README.md

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.