about summary refs log tree commit diff
path: root/compiler/rustc_mir_transform/src/instsimplify.rs
AgeCommit message (Expand)AuthorLines
2025-01-11Auto merge of #135274 - saethlin:array-repeats, r=compiler-errorsbors-0/+30
2025-01-09Add an InstSimplify for repetitive array expressionsBen Kimock-0/+30
2025-01-08[mir-opt] GVN some more transmute casesScott McMurray-23/+0
2024-12-18Re-export more `rustc_span::symbol` things from `rustc_span`.Nicholas Nethercote-2/+1
2024-12-03Bounds-check with PtrMetadata instead of Len in MIRScott McMurray-13/+0
2024-11-26Remove -Zfuel.Camille GILLOT-57/+14
2024-11-19additional `TypingEnv` cleanupslcnr-10/+4
2024-11-18use `TypingEnv` when no `infcx` is availablelcnr-3/+9
2024-11-03compiler: Directly use rustc_abi in mir_transformJubilee Young-3/+3
2024-09-22Reformat using the new identifier sorting from rustfmtMichael Goulet-1/+1
2024-09-13Rename and reorder lots of lifetimes.Nicholas Nethercote-2/+2
2024-09-10Inline and remove some functions.Nicholas Nethercote-7/+1
2024-09-09Reduce visibilities, and add `warn(unreachable_pub)`.Nicholas Nethercote-2/+2
2024-09-03Move `MirPass` to `rustc_mir_transform`.Nicholas Nethercote-1/+1
2024-08-18rename AddressOf -> RawBorrow inside the compilerRalf Jung-1/+1
2024-08-07Use more slice patterns inside the compilerLeón Orell Valerian Liehr-4/+2
2024-07-29Perform instsimplify before inline to eliminate some trivial callsDianQK-1/+17
2024-07-29Reformat `use` declarations.Nicholas Nethercote-4/+4
2024-07-25Make Clone::clone a lang itemBen Kimock-2/+2
2024-06-21Save 2 pointers in `TerminatorKind` (96 → 80 bytes)Scott McMurray-1/+3
2024-06-05Add `Ty` to `mir::Const::Ty`Boxy-1/+1
2024-05-30Also InstSimplify `&raw*`Scott McMurray-1/+1
2024-05-28Don't format `tests/run-make/*/rmake.rs`.Nicholas Nethercote-4/+2
2024-05-26Avoid a `FieldIdx::from_usize` in InstSimplifyScott McMurray-3/+2
2024-05-13Remove `extern crate rustc_middle` from `rustc_mir_transform`.Nicholas Nethercote-0/+1
2024-04-21Address more PR feedbackScott McMurray-3/+3
2024-04-21InstSimplify `from_raw_parts(p, ())` → `p as _`Scott McMurray-1/+35
2024-04-06Put checks that detect UB under their own flag below debug_assertionsBen Kimock-1/+1
2024-03-27Eliminate `UbCheck` for non-standard librariesDianQK-0/+15
2024-03-04Return a struct from `query intrinsic` to be able to add another field in the...Oli Scherer-2/+2
2024-02-16Auto merge of #120500 - oli-obk:intrinsics2.0, r=WaffleLapkinbors-6/+6
2024-02-12Rollup merge of #120958 - ShoyuVanilla:remove-subst, r=oli-obkMatthias Krüger-1/+1
2024-02-12Teach llvm backend how to fall back to default bodiesOli Scherer-3/+4
2024-02-12Make `is_intrinsic` query return the intrinsic nameOli Scherer-3/+2
2024-02-12Dejargnonize substShoyu Vanilla-1/+1
2024-02-12remove a bunch of dead parameters in fnyukang-11/+4
2024-02-08InstSimplify rustc_nounwind callsBen Kimock-0/+25
2024-01-15compiler: Lower fn call arg spans down to MIRMartin Nordholts-2/+2
2023-12-10remove redundant importssurechen-2/+0
2023-11-21Fix `clippy::needless_borrow` in the compilerNilstrieb-5/+2
2023-10-13Format all the let chains in compilerMichael Goulet-4/+14
2023-09-21rename mir::Constant -> mir::ConstOperand, mir::ConstKind -> mir::ConstRalf Jung-3/+3
2023-09-13make the set of methods between our two Const types more consistentRalf Jung-1/+1
2023-07-25inline format!() args from rustc_codegen_llvm to the end (4)Matthias Krüger-1/+1
2023-07-14refactor(rustc_middle): Substs -> GenericArgMahdi Dibaiee-12/+12
2023-07-12Re-format let-else per rustfmt updateMark Rousskov-11/+13
2023-05-14Stop turning transmutes into discriminants in mir-optScott McMurray-13/+0
2023-05-06Rename InstCombine to InstSimplifyBen Kimock-0/+318