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. |
||
|---|---|---|
| .. | ||
| analyze.rs | ||
| block.rs | ||
| constant.rs | ||
| coverageinfo.rs | ||
| debuginfo.rs | ||
| intrinsic.rs | ||
| mod.rs | ||
| operand.rs | ||
| place.rs | ||
| rvalue.rs | ||
| statement.rs | ||