about summary refs log tree commit diff
path: root/src/test/mir-opt/separate_const_switch.rs
AgeCommit message (Collapse)AuthorLines
2023-01-11Move /src/test to /testsAlbert Larsan-31/+0
2022-09-01Simplify MIR opt testsJakob Degen-4/+0
This commit removes many cases of MIR opt tests emitting `.diff`s for more than one pass. These tests cannot be `unit-test`s, and so they are easy to break, and they also provide little value due to having excessively strong opinions over *how* a piece of code should be optimized. Where reasonable, we instead add separate test files that only emit the `PreCodegen.after` MIR for code where we want to track what the result of the net result of the optimization pipeline's output is.
2021-06-22implemented separate_const_switch MIR optThéo Degioanni-0/+35
un-update itertools improve predecessor amount short-circuiting cleanup and comments somewhat improved drawing