rust/compiler/rustc_codegen_ssa/src/mir
bors 3d127e2040 Auto merge of #94123 - bjorn3:cg_ssa_singleton_builder, r=tmiasko
Partially move cg_ssa towards using a single builder

Not all codegen backends can handle hopping between blocks well. For example Cranelift requires blocks to be terminated before switching to building a new block. Rust-gpu requires a `RefCell` to allow hopping between blocks and cg_gcc currently has a buggy implementation of hopping between blocks. This PR reduces the amount of cases where cg_ssa switches between blocks before they are finished and mostly fixes the block hopping in cg_gcc. (~~only `scalar_to_backend` doesn't handle it correctly yet in cg_gcc~~ fixed that one.)

`@antoyo` please review the cg_gcc changes.
2022-02-24 12:28:19 +00:00
..
analyze.rs Remove deprecated LLVM-style inline assembly 2022-01-12 18:51:31 +01:00
block.rs Auto merge of #94123 - bjorn3:cg_ssa_singleton_builder, r=tmiasko 2022-02-24 12:28:19 +00:00
constant.rs Adopt let else in more places 2022-02-19 17:27:43 +01:00
coverageinfo.rs coverageinfo query needs to use the same MIR as codegen 2021-05-12 20:27:07 -07:00
debuginfo.rs Adopt let else in more places 2022-02-19 17:27:43 +01:00
intrinsic.rs Adopt let else in more places 2022-02-19 17:27:43 +01:00
mod.rs Auto merge of #94174 - matthiaskrgr:rollup-snyrlhy, r=matthiaskrgr 2022-02-20 02:19:41 +00:00
operand.rs Adopt let else in more places 2022-02-19 17:27:43 +01:00
place.rs compiler: clippy::complexity fixes 2022-02-03 23:16:03 +01:00
rvalue.rs Add simd_as intrinsic 2022-01-04 01:45:41 +00:00
statement.rs Remove deprecated LLVM-style inline assembly 2022-01-12 18:51:31 +01:00