| Age | Commit message (Collapse) | Author | Lines | |
|---|---|---|---|---|
| 2024-01-04 | Remove `-Zdump-mir-spanview` | Zalathar | -642/+0 | |
| 2023-12-10 | remove redundant imports | surechen | -3/+1 | |
| detects redundant imports that can be eliminated. for #117772 : In order to facilitate review and modification, split the checking code and removing redundant imports code into two PR. | ||||
| 2023-11-21 | Fix `clippy::needless_borrow` in the compiler | Nilstrieb | -3/+3 | |
| `x clippy compiler -Aclippy::all -Wclippy::needless_borrow --fix`. Then I had to remove a few unnecessary parens and muts that were exposed now. | ||||
| 2023-11-15 | Re-format code with new rustfmt | Mark Rousskov | -5/+1 | |
| 2023-08-20 | sync printing of MIR terminators with their new names (and dedup some to-str ↵ | Ralf Jung | -42/+3 | |
| logic) | ||||
| 2023-08-20 | give some unwind-related terminators a more clear name | Ralf Jung | -2/+2 | |
| 2023-07-30 | inline format!() args up to and including rustc_middle | Matthias Krüger | -9/+8 | |
| 2023-06-17 | Add `<meta charset="utf-8">` to `-Zdump-mir-spanview` output | Zalathar | -2/+3 | |
| 2023-06-16 | Add `SyntaxContext::is_root` | Maybe Waffle | -2/+2 | |
| 2023-04-06 | Rename `Abort` terminator to `Terminate` | Gary Guo | -1/+1 | |
| Unify terminology used in unwind action and terminator, and reflect the fact that a nounwind panic is triggered instead of an immediate abort is triggered for this terminator. | ||||
| 2023-03-09 | Introduce a no-op PlaceMention statement for `let _ =`. | Camille GILLOT | -0/+1 | |
| 2023-03-07 | Remove DropAndReplace terminator | Giacomo Pasini | -1/+0 | |
| PR 107844 made DropAndReplace unused, let's remove it completely from the codebase. | ||||
| 2023-03-03 | Match unmatched backticks in comments in compiler/ | est31 | -1/+1 | |
| 2023-01-29 | Auto merge of #106227 - bryangarza:ctfe-limit, r=oli-obk | bors | -0/+1 | |
| Use stable metric for const eval limit instead of current terminator-based logic This patch adds a `MirPass` that inserts a new MIR instruction `ConstEvalCounter` to any loops and function calls in the CFG. This instruction is used during Const Eval to count against the `const_eval_limit`, and emit the `StepLimitReached` error, replacing the current logic which uses Terminators only. The new method of counting loops and function calls should be more stable across compiler versions (i.e., not cause crates that compiled successfully before, to no longer compile when changes to the MIR generation/optimization are made). Also see: #103877 | ||||
| 2023-01-28 | Remove `HirId -> LocalDefId` map from HIR. | Camille GILLOT | -1/+1 | |
| 2023-01-23 | Create stable metric to measure long computation in Const Eval | Bryan Garza | -0/+1 | |
| This patch adds a `MirPass` that tracks the number of back-edges and function calls in the CFG, adds a new MIR instruction to increment a counter every time they are encountered during Const Eval, and emit a warning if a configured limit is breached. | ||||
| 2022-12-20 | rustc: Remove needless lifetimes | Jeremy Stucki | -12/+7 | |
| 2022-09-06 | Generalize the Assume intrinsic statement to a general Intrinsic statement | Oli Scherer | -2/+1 | |
| 2022-09-06 | Lower the assume intrinsic to a MIR statement | Oli Scherer | -0/+1 | |
| 2022-08-26 | Replace `Body::basic_blocks()` with field access | Tomasz Miąsko | -1/+1 | |
| 2022-06-19 | Use `Span::eq_ctxt` method instead of `.ctxt() == .ctxt()` | Michael Goulet | -1/+1 | |
| 2022-04-11 | Add new `Deinit` statement kind | Jakob Degen | -0/+1 | |
| 2022-01-27 | try apply `rustc_pass_by_value` to `Span` | lcnr | -3/+3 | |
| 2022-01-17 | Auto merge of #92816 - tmiasko:rm-llvm-asm, r=Amanieu | bors | -1/+0 | |
| Remove deprecated LLVM-style inline assembly The `llvm_asm!` was deprecated back in #87590 1.56.0, with intention to remove it once `asm!` was stabilized, which already happened in #91728 1.59.0. Now it is time to remove `llvm_asm!` to avoid continued maintenance cost. Closes #70173. Closes #92794. Closes #87612. Closes #82065. cc `@rust-lang/wg-inline-asm` r? `@Amanieu` | ||||
| 2022-01-15 | Reduce use of local_def_id_to_hir_id. | Camille GILLOT | -3/+1 | |
| 2022-01-12 | Remove deprecated LLVM-style inline assembly | Tomasz Miąsko | -1/+0 | |
| 2021-12-14 | fix clippy::single_char_pattern perf findings | Matthias Krüger | -6/+6 | |
| 2021-11-04 | clippy::perf fixes | Matthias Krüger | -2/+2 | |
| 2021-09-07 | Move the dataflow framework to its own crate. | Camille GILLOT | -0/+693 | |
