| Age | Commit message (Collapse) | Author | Lines | |
|---|---|---|---|---|
| 2022-11-07 | Prevent propagation of overflow if overflow occured | Jannis Christopher Köhl | -1/+1 | |
| 2022-11-07 | Improve documentation, plus some small changes | Jannis Christopher Köhl | -4/+2 | |
| 2022-11-07 | Make overflow flag propagation conditional | Jannis Christopher Köhl | -0/+53 | |
| 2022-11-07 | Update test results | Jannis Christopher Köhl | -4/+4 | |
| 2022-11-07 | Improve example used for SB tests | Jannis Christopher Köhl | -19/+47 | |
| 2022-11-07 | Add tests for Stacked Borrows behavior | Jannis Christopher Köhl | -0/+120 | |
| 2022-11-07 | Only assume Stacked Borrows if -Zunsound-mir-opts is given | Jannis Christopher Köhl | -84/+86 | |
| 2022-11-07 | Update test results after rebase | Jannis Christopher Köhl | -28/+29 | |
| 2022-11-07 | Add some more unit-test directives | Jannis Christopher Köhl | -112/+137 | |
| 2022-11-07 | Update test results | Jannis Christopher Köhl | -200/+122 | |
| 2022-11-07 | Add tests from current const prop | Jannis Christopher Köhl | -0/+2297 | |
| 2022-11-07 | Remove leftover test files | Jannis Christopher Köhl | -234/+0 | |
| 2022-11-07 | Rebase onto master | Jannis Christopher Köhl | -6/+1 | |
| 2022-11-07 | Add tracking of unreachability | Jannis Christopher Köhl | -3/+6 | |
| 2022-11-07 | Update other test results | Jannis Christopher Köhl | -4/+238 | |
| 2022-11-07 | Reject registration of downcasts for now | Jannis Christopher Köhl | -85/+85 | |
| 2022-11-07 | Change test from usize to i32 to prevent target issues | Jannis Christopher Köhl | -12/+12 | |
| 2022-11-07 | Add additional flooding when assigning a value and corresponding test | Jannis Christopher Köhl | -0/+63 | |
| 2022-11-07 | Remove empty test | Jannis Christopher Köhl | -18/+0 | |
| 2022-11-07 | Update test results | Jannis Christopher Köhl | -16/+56 | |
| 2022-11-07 | Update test results | Jannis Christopher Köhl | -12/+16 | |
| 2022-11-07 | Add initial version of value analysis and dataflow constant propagation | Jannis Christopher Köhl | -0/+769 | |
| 2022-11-02 | Ban dashes in miropt test file names | Jakob Degen | -3259/+3259 | |
| 2022-11-01 | Rollup merge of #103781 - JakobDegen:mir-opt-tidy, r=jyn514 | Manish Goregaokar | -404/+0 | |
| Detect unused files in `src/test/mir-opt` and error on them in tidy. Closes #97564 . Determining which files are generated by a given mir opt test is somewhat difficult. Because of this, we extract the logic for doing it out into a common crate that both compiletest and tidy can depend on. This avoids making compiletest a dependency of tidy which would negatively impact compile times for tidy. Testing for this is that it catches 5 files that violated this lint (and removes them). | ||||
| 2022-10-31 | Detect unused files in `src/test/mir-opt` and error on them in tidy. | Jakob Degen | -404/+0 | |
| 2022-10-31 | Remove bounds check with enum cast | ouz-a | -7/+25 | |
| 2022-10-27 | Move mir building mir-opt tests to own directory | Jakob Degen | -0/+0 | |
| 2022-10-27 | Replace `mir_map.0` dump with `built` phase change dump | Jakob Degen | -110/+134 | |
| 2022-10-13 | Bless tests | Gary Guo | -23/+47 | |
| 2022-10-08 | Rollup merge of #102778 - nbdd0121:mir, r=tmiasko | Matthias Krüger | -0/+67 | |
| Fix MIR inlining of asm_unwind The MIR inlining currently doesn't handle inline asm's unwind edge correctly. This code will cause ICE: ```rust struct D; impl Drop for D { fn drop(&mut self) {} } #[inline(always)] fn foo() { let _d = D; unsafe { std::arch::asm!("", options(may_unwind)) }; } pub fn main() { foo(); } ``` This PR fixes this issue. I also take the opportunity to extract common code into a method. | ||||
| 2022-10-08 | Rollup merge of #102675 - ouz-a:mir-technical-debt, r=oli-obk | Matthias Krüger | -16/+16 | |
| Remove `mir::CastKind::Misc` As discussed in #97649 `mir::CastKind::Misc` is not clear, this PR addresses that by creating a new enum variant for every valid cast. r? ````@oli-obk```` | ||||
| 2022-10-07 | Fix test | Gary Guo | -10/+11 | |
| 2022-10-07 | make const_err a hard error | Ralf Jung | -1/+0 | |
| 2022-10-07 | Fix MIR inlining of asm_unwind | Gary Guo | -0/+66 | |
| 2022-10-06 | Remove `mir::CastKind::Misc` | ouz-a | -16/+16 | |
| 2022-09-26 | Rollup merge of #101996 - b-naber:binder-print, r=lcnr | Matthias Krüger | -55/+55 | |
| Don't duplicate region names for late-bound regions in print of Binder Fixes https://github.com/rust-lang/rust/issues/101280 | ||||
| 2022-09-26 | address review | b-naber | -55/+55 | |
| 2022-09-26 | bless tests | b-naber | -6/+6 | |
| 2022-09-26 | actually fix line number | Pietro Albini | -2/+2 | |
| 2022-09-26 | fix line number in expected test output | Pietro Albini | -2/+2 | |
| 2022-09-26 | applease tidy | Pietro Albini | -1/+0 | |
| 2022-09-26 | remove cfg(bootstrap) | Pietro Albini | -1/+0 | |
| 2022-09-24 | Auto merge of #102068 - cjgillot:erased-lifetime-print, r=eholk | bors | -24/+24 | |
| Always print '_, even for erased lifetimes. Explicit lifetime arguments are now the recommended syntax in rust 2018 and rust 2021. This PR applies this discipline to rustc itself. | ||||
| 2022-09-23 | Always print '_, even for erased lifetimes. | Camille GILLOT | -24/+24 | |
| 2022-09-23 | rename Unevaluated to UnevaluatedConst | b-naber | -1/+1 | |
| 2022-09-22 | bless tests | b-naber | -1/+1 | |
| 2022-09-21 | Rollup merge of #102045 - RalfJung:const-prop-regression-fix, r=oli-obk | Dylan DPC | -0/+120 | |
| fix ConstProp handling of written_only_inside_own_block_locals Fixes a regression introduced by https://github.com/rust-lang/rust/pull/100239, which adds an early return and thus skips some code in `visit_terminator` that must be run for soundness. Fixes https://github.com/rust-lang/rust/issues/101973 | ||||
| 2022-09-20 | fix ConstProp handling of written_only_inside_own_block_locals | Ralf Jung | -0/+120 | |
| 2022-09-18 | add miri test via const fn | Ding Xiang Fei | -1/+1 | |
| 2022-09-18 | add mir-opt test | Ding Xiang Fei | -0/+84 | |
