rust/compiler/rustc_mir/src
Jonas Schievink 0b521e5c47
Rollup merge of #78899 - tmiasko:inline-diverging, r=oli-obk
Support inlining diverging function calls

The existing heuristic does penalize diverging calls to some degree, but since
it never inlined them previously it might need some further modifications.

Additionally introduce storage markers for all temporaries created by
the inliner. The temporary introduced for destination rebrorrow, didn't
use them previously.
2020-11-11 20:59:05 +01:00
..
borrow_check Changed unwrap_or to unwrap_or_else in some places. 2020-11-10 20:07:47 -08:00
const_eval Rollup merge of #78742 - vn-ki:fix-issue-78655, r=oli-obk 2020-11-05 10:29:59 +01:00
dataflow Add comments to explain memory usage optimization 2020-11-09 13:34:16 -08:00
interpret inliner: Use substs_for_mir_body 2020-11-06 00:00:00 +00:00
monomorphize Rollup merge of #78875 - petrochenkov:cleantarg, r=Mark-Simulacrum 2020-11-10 14:45:21 +01:00
transform Rollup merge of #78899 - tmiasko:inline-diverging, r=oli-obk 2020-11-11 20:59:05 +01:00
util use single char patterns for split() (clippy::single_char_pattern) 2020-11-07 07:27:44 +01:00
lib.rs TypeVisitor: use ControlFlow in rustc_{mir,privacy,traits,typeck} 2020-10-30 12:27:44 +01:00
shim.rs