Camille GILLOT
9e683442a9
Only check inlining counter after recusing.
2023-06-03 12:29:49 +00:00
Camille GILLOT
d796c600ad
Rebase fallout.
2023-06-01 21:43:52 +00:00
Camille GILLOT
1ad37804a6
Remove brittle test.
2023-06-01 21:41:58 +00:00
Camille GILLOT
b90e165744
Restrict test to x64.
2023-06-01 21:41:58 +00:00
Camille GILLOT
36cae3a3a2
Annotate needs-unwind.
2023-06-01 21:41:58 +00:00
Camille GILLOT
051dd6714c
Remove duplication.
2023-06-01 21:41:58 +00:00
Camille GILLOT
3483e77263
Remove spurious comments.
2023-06-01 21:41:58 +00:00
Camille GILLOT
b0121799b3
Add chained comparison e2e test.
2023-06-01 21:41:58 +00:00
Camille GILLOT
434fa8c26d
Add e2e mir test for checked arithmetic.
2023-06-01 21:41:58 +00:00
Camille GILLOT
2c6f137d9a
Add loop tests.
2023-06-01 21:41:58 +00:00
Camille GILLOT
ae6f97c43d
Make slice_filter a pre-codegen test.
2023-06-01 21:41:58 +00:00
Ben Kimock
79ba7b307d
Enable ScalarReplacementOfAggregates
2023-05-31 19:18:16 -04:00
Scott McMurray
11fa1764ee
Make TrustedStep
require Copy
...
All the implementations of the trait already are `Copy`, and this seems to be enough to simplify the implementations enough to make the MIR inliner willing to inline basics like `Range::next`.
2023-05-29 13:19:47 -07:00
Scott McMurray
d69725d5d5
Normalize block and local orders in mir-opt tests
...
Since this only affects `PreCodegen MIR, and it would be nice for that to be resilient to permutations of things that don't affect the actual semantic behaviours.
2023-05-21 17:48:37 -07:00
Camille GILLOT
f40f235879
Merge return place with other locals in CopyProp.
2023-05-14 12:06:34 +00:00
Scott McMurray
c50a2e1d17
Remove useless assume
s from slice::iter(_mut)
2023-05-12 17:34:55 -07:00
Jakob Degen
8e2da80fc5
Disable nrvo mir opt
2023-05-08 03:55:41 -07:00
Scott McMurray
5292d48b85
Codegen fewer instructions in mem::replace
2023-04-30 22:33:04 -07:00
Scott McMurray
ca3f742ff6
MIR pre-codegen test for mem::replace
2023-04-30 11:59:24 -07:00
Scott McMurray
e1da77c76d
Also use mir::Offset
for pointer add
2023-04-27 22:44:42 -07:00
Scott McMurray
8bcfc0e597
Add some MIR pre-codegen tests for slice indexing
2023-04-26 14:43:36 -07:00
Camille GILLOT
332b7f51d6
Add mir-opt tests to track MIR quality.
2023-04-23 17:10:53 +00:00