about summary refs log tree commit diff
path: root/tests/mir-opt/issues/issue_75439.foo.MatchBranchSimplification.diff
AgeCommit message (Collapse)AuthorLines
2025-04-21mir-opt: execute MatchBranchSimplification after GVNdianqk-17/+7
This can provide more opportunities for MatchBranchSimplification.
2024-08-18Bless *all* the mir-opt testsScott McMurray-6/+6
2024-04-03Remove MIR unsafe checkMatthew Jasper-5/+1
This also remove safety information from MIR.
2024-03-25Consistently merge simplifiable or-patternsNadrieril-18/+8
2023-06-15Remove comments from mir-opt MIR dumpsBen Kimock-36/+36
2023-03-22Add `CastKind::Transmute` to MIRScott McMurray-30/+18
Updates `interpret`, `codegen_ssa`, and `codegen_cranelift` to consume the new cast instead of the intrinsic. Includes `CastTransmute` for custom MIR building, to be able to test the extra UB.
2023-02-02Stop deaggregating enums in MIR.Camille GILLOT-5/+2
2023-01-12Fix mir-opt tests for big-endian platformsUlrich Weigand-2/+2
The test cases src/test/mir-opt/building/custom/consts.rs and src/test/mir-opt/const_prop/mutable_variable_no_prop.rs are currently failing on big-endian platforms as the binary encoding of some constants is hard-coded in the MIR test files. Fix this by choosing constant values that have the same encoding on big- and little-endian platforms. The test case src/test/mir-opt/issues/issue_75439.rs is failing as well, but since the purpose of the test is to validate handling of big-endian integer encodings on a little-endian platform, it does not make much sense to run it on big-endian platforms in the first place - we can just ignore it there. Fixed part of https://github.com/rust-lang/rust/issues/105383.
2023-01-11Move /src/test to /testsAlbert Larsan-0/+89