rust/src/librustc_mir
bors e804a3cf25 Auto merge of #35168 - scottcarr:deaggregation, r=nikomatsakis
[MIR] Deaggregate structs to enable further optimizations

Currently, we generate MIR like:

```
tmp0 = ...;
tmp1 = ...;
tmp3 = Foo { a: ..., b: ... };
```

This PR implements "deaggregation," i.e.:

```
tmp3.0 = ...
tmp3.1 = ...
```

Currently, the code only deaggregates structs, not enums.  My understanding is that we do not have MIR to set the discriminant of an enum.
2016-08-04 03:01:37 -07:00
..
build Move errors from libsyntax to its own crate 2016-06-23 08:07:35 -04:00
hair Auto merge of #34657 - oli-obk:no_needless_const_eval, r=eddyb 2016-07-10 06:43:47 -07:00
transform reduce rightward drift, add precondition comment 2016-08-03 11:10:38 -07:00
Cargo.toml Fix Cargo.tomls 2016-06-27 18:30:46 +00:00
diagnostics.rs Implement RFC 1440 "Allow Drop types in statics/const functions". 2016-05-07 19:14:33 +03:00
graphviz.rs make the basic_blocks field private 2016-06-09 14:55:19 +03:00
lib.rs Move errors from libsyntax to its own crate 2016-06-23 08:07:35 -04:00
mir_map.rs intravisit: Fold functionality of IdVisitor into the regular Visitor. 2016-07-29 04:55:31 -04:00
pretty.rs Auto merge of #34715 - scottcarr:mir-test, r=nikomatsakis 2016-07-21 19:44:59 -07:00