Files
third_party_rust_rust/compiler/rustc_codegen_llvm/src
bors 79146baa9c Auto merge of #102570 - cjgillot:deagg-debuginfo, r=oli-obk
Perform simple scalar replacement of aggregates (SROA) MIR opt

This is a re-open of https://github.com/rust-lang/rust/pull/85796

I copied the debuginfo implementation (first commit) from `@eddyb's` own SROA PR.

This pass replaces plain field accesses by simple locals when possible.
To be eligible, the replaced locals:
- must not be enums or unions;
- must not be used whole;
- must not have their address taken.

The storage and deinit statements are duplicated on each created local.

cc `@tmiasko` who reviewed the former version of this PR.
2022-11-15 23:52:22 +00:00
..
2022-11-15 17:53:50 +00:00
2022-11-15 17:53:50 +00:00
2022-11-09 14:56:21 +01:00
2022-11-09 14:56:20 +01:00
2022-11-06 14:18:36 +05:30
2022-02-24 12:18:21 +01:00
2020-08-30 18:45:07 +03:00