Albert Larsan
cf2dff2b1e
Move /src/test to /tests
2023-01-11 09:32:08 +00:00
Jakob Degen
699bf7dc59
Switch some tests over to new MIR opt unit tests
2022-04-16 18:23:59 -04:00
Jakob Degen
709c94a9be
Correct the unsoundness in the EarlyOtherwiseBranch
mir opt
...
This optimization pass previously made excessive assumptions as to the nature of
the blocks being optimized. We remove those assumptions and make sure to
rigorously justify all changes that are made to the MIR. Details can be found
in the file.
2021-12-14 05:58:05 -05:00
Dylan MacKenzie
7bc5eca93a
EarlyOtherwiseBranch
requires -Zunsound-mir-opts
...
The noopt test never actually ran the pass
2021-12-02 17:31:38 -08:00
Santiago Pastorino
705813c84b
Bump mir-opt-level from 3 to 4 in tests
2021-03-05 17:13:57 -03:00
Simon Vandel Sillesen
04834139c4
replace usize with u32 to make it easier to bless
2020-09-20 14:45:46 +02:00
Simon Vandel Sillesen
5fb32c2e33
New MIR optimization pass to reduce branches on match of tuples of enums
2020-09-20 14:45:46 +02:00