Jakob Degen
245c60749a
Rewrite dest prop.
...
This fixes a number of correctness issues from the previous version. Additionally, we use a new
strategy which has much better performance charactersitics and also finds more opportunities to
apply the optimization.
2022-11-26 18:04:54 -08:00
Jakob Degen
0bd4f76944
Ban dashes in miropt test file names
2022-11-02 15:54:46 -07:00
b-naber
6118ee343f
address review
2022-09-26 14:21:39 +02:00
Camille GILLOT
1f370d9437
Use tcx.hir() utils for spans in MIR building.
...
This corrects the `span_with_body` in the case of closures, which was
incorrectly shortened to the `def_span`.
2022-09-13 19:18:23 +02:00
Tomasz Miąsko
f8ca6aad83
./x.py test --bless
2022-08-23 00:00:00 +00:00
Nilstrieb
5d7ce21b6b
bless mir-opt tests
2022-08-22 15:19:40 +02:00
Nilstrieb
11c0280798
bless mir opt tests
2022-07-28 14:24:44 +02:00
ouz-a
cb0017f2f8
add new rval, pull deref early
2022-07-12 14:26:41 +03:00
Ralf Jung
4e7aaf1f44
tweak names and output and bless
2022-07-09 07:43:56 -04:00
Camille GILLOT
8cc87250ef
Shorten span for closures.
2022-07-07 09:27:42 +02:00
ouz-a
e71913e847
validate derefer, run derefer inside generator
2022-05-30 18:36:14 +03:00
Jakob Degen
2a040284a5
Fix tests broken by deaggregation change
2022-04-11 09:26:26 -04:00
b-naber
26fe550670
normalization change and rebase
2022-03-09 11:33:11 +01:00
b-naber
8a811a1213
bless tests
2022-03-09 10:52:04 +01:00
Camille GILLOT
e77e4fcf89
Only create a single expansion for each inline integration.
2022-02-27 19:05:56 +01:00
lcnr
ee0b56483f
change mir::Constant
in mir dumps
2022-02-22 09:38:07 +01:00
Camille GILLOT
2fa9b11804
Normalize MIR with RevealAll before optimizations.
2021-10-17 14:57:57 +02:00
Tomasz Miąsko
06ca736e14
Pretty print generator witness only in -Zverbose
mode
...
In release build of deeply-nested-async benchmark the size of
`no-opt.bc` file is reduced from 46MB to 62kB.
2021-06-12 18:28:17 +02:00
Tomasz Miąsko
6f49aadabb
Disable destination propagation on all mir-opt-levels
2021-03-06 00:00:00 +00:00
Caio
f85fc264fe
Reintroduce hir::ExprKind::If
2021-01-07 18:54:12 -03:00
Tomasz Miąsko
f27d56d1ff
Limit storage duration of inlined always live locals
2020-11-15 00:00:00 +00:00
Tomasz Miąsko
2a010dd340
./x.py test --bless
2020-11-12 20:09:04 +01:00