about summary refs log tree commit diff
path: root/compiler/rustc_mir_transform/src/gvn.rs
AgeCommit message (Expand)AuthorLines
2024-06-20More GVN for PtrMetadataScott McMurray-10/+86
2024-06-20Add a try_as_constant+try_as_local helperScott McMurray-19/+19
2024-06-19Ban `ArrayToPointer` and `MutToConstPointer` from runtime MIRScott McMurray-7/+3
2024-06-13Small style improvement in `gvn.rs`Waffle Lapkin-2/+1
2024-06-10Rollup merge of #126159 - RalfJung:scalarint-size-mismatch, r=oli-obkMatthias Krüger-3/+3
2024-06-10ScalarInt: size mismatches are a bug, do not delay the panicRalf Jung-3/+3
2024-06-09Rollup merge of #125041 - scottmcm:gvn-for-from-raw-parts, r=cjgillot许杰友 Jieyou Xu (Joe)-12/+87
2024-06-08offset_of: allow (unstably) taking the offset of slice tail fieldsRalf Jung-4/+6
2024-06-06Enable GVN for `AggregateKind::RawPtr` & `UnOp::PtrMetadata`Scott McMurray-12/+87
2024-06-06Auto merge of #125958 - BoxyUwU:remove_const_ty, r=lcnrbors-2/+10
2024-06-05Add `Ty` to `mir::Const::Ty`Boxy-2/+10
2024-06-02Handle all GVN binops in a single place.Camille GILLOT-30/+40
2024-05-27interpret: get rid of 'mir lifetime everywhereRalf Jung-2/+2
2024-05-21interpret: make overflowing binops just normal binopsRalf Jung-11/+8
2024-05-17Remove `Rvalue::CheckedBinaryOp`Scott McMurray-16/+11
2024-05-13Remove `extern crate rustc_middle` from `rustc_mir_transform`.Nicholas Nethercote-0/+1
2024-05-09Make builtin_deref just return a TyMichael Goulet-3/+3
2024-05-03Auto merge of #123602 - cjgillot:gvn-borrowed, r=oli-obkbors-1/+17
2024-04-21Add `AggregateKind::RawPtr` and enough support to compileScott McMurray-0/+3
2024-04-20Dereference immutable borrows in GVN.Camille GILLOT-0/+16
2024-04-20GVN borrowed locals too.Camille GILLOT-1/+1
2024-04-16Avoid unnecessary `rustc_span::DUMMY_SP` usage.Nicholas Nethercote-2/+2
2024-04-03rustc_index: Add a `ZERO` constant to index typesVadim Petrochenkov-1/+1
2024-03-23refactor check_{lang,library}_ub: use a single intrinsic, put policy into lib...Ralf Jung-1/+1
2024-03-23Auto merge of #119552 - krtab:dead_code_priv_mod_pub_field, r=cjgillot,saethlinbors-1/+1
2024-03-22Auto merge of #122900 - matthiaskrgr:rollup-nls90mb, r=matthiaskrgrbors-1/+1
2024-03-22Rollup merge of #122784 - jswrenn:tag_for_variant, r=compiler-errorsMatthias Krüger-1/+1
2024-03-22Add `tag_for_variant` queryJack Wrenn-1/+1
2024-03-22Ty::new_ref and Ty::new_ptr stop using TypeAndMutMichael Goulet-5/+4
2024-03-18Avoid various uses of `Option<Span>` in favor of using `DUMMY_SP` in the few ...Oli Scherer-1/+1
2024-03-12Remove unused fields in some structuresArthur Carcano-1/+1
2024-03-08Distinguish between library and lang UB in assert_unsafe_preconditionBen Kimock-1/+1
2024-02-15Split a bool argument into two named functionsOli Scherer-3/+2
2024-02-14Rollup merge of #121039 - cjgillot:gvn-adjust, r=compiler-errorsOli Scherer-5/+9
2024-02-13Fix handling of adjustment casts.Camille GILLOT-5/+9
2024-02-12Dejargnonize substShoyu Vanilla-9/+7
2024-02-09Const-prop pointers.Camille GILLOT-0/+13
2024-02-09Split gvn wide ptr tests.Camille GILLOT-0/+3
2024-02-09Compute unsizing casts in GVN.Camille GILLOT-0/+10
2024-02-09Fold consecutive PtrToPtr casts.Camille GILLOT-13/+43
2024-02-08Add a new debug_assertions instrinsic (compiler)Ben Kimock-0/+1
2024-02-08Rollup merge of #120688 - cjgillot:gvn-partial-move, r=oli-obkMatthias Krüger-2/+2
2024-02-06Add CoroutineClosure to TyKind, AggregateKind, UpvarArgsMichael Goulet-4/+7
2024-02-05Also turn moves into copies even if through projections.Camille GILLOT-2/+2
2024-01-16Expand match over binops.Camille GILLOT-15/+18
2024-01-16Explain side-effects from simplify_operand.Camille GILLOT-0/+4
2024-01-16Do not read a scalar on a non-scalar layout.Camille GILLOT-2/+7
2024-01-16Simplify Len.Camille GILLOT-4/+34
2024-01-16Simplify unary operations.Camille GILLOT-0/+20
2024-01-16Simplify binary ops.Camille GILLOT-2/+109