rust/src/librustc_codegen_ssa
bors de0abf7599 Auto merge of #66650 - matthewjasper:nonuniform-array-move, r=pnkfelix
Remove uniform array move MIR passes

This PR fixes a number of bugs caused by limitations of this pass

* Projections from constant indexes weren't being canonicalized
* Constant indexes from the start weren't being canonicalized (they could have different min_lengths)
* It didn't apply to non-moves

This PR makes the following changes to support removing this pass:

* ConstantIndex of arrays are now generated in a canonical form (from the start, min_length is the actual length).
* Subslices are now split when generating move paths and when checking subslices have been moved.

Additionally

* The parent move path of a projection from an array element is now calculated correctly

closes #66502
2019-12-11 23:00:38 +00:00
..
back Rename to then_some and then 2019-12-06 12:24:54 +00:00
debuginfo
mir Auto merge of #66650 - matthewjasper:nonuniform-array-move, r=pnkfelix 2019-12-11 23:00:38 +00:00
traits rustc_codegen_ssa: use FnAbi::of_instance wherever possible. 2019-12-03 15:41:43 +02:00
base.rs Auto merge of #65947 - eddyb:fn-abi, r=oli-obk,nagisa 2019-12-04 08:22:05 +00:00
Cargo.toml Auto merge of #66981 - michaelwoerister:measureme-0.5.0, r=Mark-Simulacrum 2019-12-08 19:43:29 +00:00
common.rs Update to use new librustc_error_codes library 2019-11-14 13:05:42 +01:00
glue.rs
lib.rs Rename to then_some and then 2019-12-06 12:24:54 +00:00
meth.rs Aggregation of drive-by cosmetic changes. 2019-11-21 18:50:38 +00:00
mono_item.rs
README.md

Please read the rustc-guide chapter on Backend Agnostic Codegen.