rust/compiler/rustc_middle/src
bors 0075bb4fad Auto merge of #91743 - cjgillot:enable_mir_inlining_inline_all, r=oli-obk
Enable MIR inlining

Continuation of https://github.com/rust-lang/rust/pull/82280 by `@wesleywiser.`

#82280 has shown nice compile time wins could be obtained by enabling MIR inlining.
Most of the issues in https://github.com/rust-lang/rust/issues/81567 are now fixed,
except the interaction with polymorphization which is worked around specifically.

I believe we can proceed with enabling MIR inlining in the near future
(preferably just after beta branching, in case we discover new issues).

Steps before merging:
- [x] figure out the interaction with polymorphization;
- [x] figure out how miri should deal with extern types;
- [x] silence the extra arithmetic overflow warnings;
- [x] remove the codegen fulfilment ICE;
- [x] remove the type normalization ICEs while compiling nalgebra;
- [ ] tweak the inlining threshold.
2022-07-02 11:24:17 +00:00
..
dep_graph Remove crate visibility usage in compiler 2022-05-20 20:04:54 -04:00
hir Rollup merge of #98639 - camsteffen:no-node-binding, r=compiler-errors 2022-07-02 12:23:38 +05:30
infer Rename the ConstS::val field as kind. 2022-06-14 13:06:44 +10:00
middle Use verbose help for deprecation suggestion 2022-06-29 09:53:15 +01:00
mir cleanup mir visitor for rustc::pass_by_value 2022-07-01 16:21:21 +02:00
query Improve doc comment of destructure_const 2022-06-29 10:30:47 +02:00
thir Fix precise field capture of univariant enums 2022-05-23 19:07:06 +02:00
traits Fix trait object reborrow suggestion 2022-06-28 21:42:52 +00:00
ty Auto merge of #91743 - cjgillot:enable_mir_inlining_inline_all, r=oli-obk 2022-07-02 11:24:17 +00:00
util span: move MultiSpan 2022-04-05 07:01:00 +01:00
arena.rs try to cache region_scope_tree as a query 2022-05-25 13:52:32 +08:00
lib.rs Try out yeet in the MIR interpreter 2022-06-11 23:08:06 -07:00
lint.rs Support lint expectations for --force-warn lints (RFC 2383) 2022-06-16 08:16:43 +02:00
macros.rs Folding revamp. 2022-06-08 09:24:03 +10:00
metadata.rs resolve/metadata: Stop encoding macros as reexports 2022-02-24 22:55:40 +03:00
tests.rs mv compiler to compiler/ 2020-08-30 18:45:07 +03:00
thir.rs thir: wrap hir id of vars into local var id 2022-06-09 17:00:38 +08:00