about summary refs log tree commit diff
path: root/compiler/rustc_mir_transform
AgeCommit message (Expand)AuthorLines
2023-06-19Promote unchecked_add/sub/mul/shl/shr to mir::BinOpScott McMurray-1/+11
2023-06-18Auto merge of #112638 - lqd:rpo, r=cjgillotbors-3/+3
2023-06-18Auto merge of #112599 - saethlin:cleaner-panics, r=thomccbors-6/+4
2023-06-16Auto merge of #112716 - compiler-errors:rollup-h77daia, r=compiler-errorsbors-0/+4
2023-06-16Ignore the always part of #[inline(always)] in MIR inliningBen Kimock-4/+5
2023-06-16Update compiler/rustc_mir_transform/src/check_alignment.rsWesley Wiser-0/+1
2023-06-16Launch a non-unwinding panic for misaligned pointer derefBen Kimock-6/+4
2023-06-16Disable alignment checks on i686-pc-windows-msvcBen Kimock-0/+3
2023-06-15Rollup merge of #112403 - nbdd0121:eh_frame, r=NilstriebGuillaume Gomez-1/+6
2023-06-14make reorder BB pass use cached RPORémy Rakic-1/+1
2023-06-14make const-prop use cached RPORémy Rakic-2/+2
2023-06-14s/drain_filter/extract_if/ for Vec, Btree{Map,Set} and LinkedListThe 8472-9/+6
2023-06-13Auto merge of #112017 - Nemo157:unsafe-block-rustfix, r=eholkbors-11/+47
2023-06-13Add note about unsafe functions body not being unsafeWim Looman-3/+15
2023-06-13Hide suggestion to wrap function in unsafe blockWim Looman-1/+1
2023-06-13Add MVP suggestion for `unsafe_op_in_unsafe_fn`Léo Lanteri Thauvin-11/+35
2023-06-09Auto merge of #111626 - pjhades:output, r=b-naberbors-4/+11
2023-06-08Auto merge of #108293 - Jarcho:mut_analyses, r=eholkbors-32/+47
2023-06-07Remove wrongly emitted `.eh_frame` in `-Cpanic=abort`Gary Guo-1/+6
2023-06-06Write to stdout if `-` is given as output fileJing Peng-4/+11
2023-06-05cleanup some skip_binder -> subst_identityKyle Matsuda-1/+1
2023-06-04Auto merge of #112240 - cjgillot:recurse-inline, r=scottmcmbors-3/+6
2023-06-03Only check inlining counter after recusing.Camille GILLOT-3/+6
2023-06-02Rollup merge of #112168 - scottmcm:lower-div-rem-unchecked-to-mir, r=oli-obkMichael Goulet-23/+28
2023-06-02Separate AnonConst from ConstBlock in HIR.Camille GILLOT-4/+2
2023-06-02Auto merge of #111677 - fee1-dead-contrib:rustc_const_eval-translatable, r=ol...bors-7/+26
2023-06-01Auto merge of #112040 - cjgillot:separate-const-switch, r=oli-obkbors-17/+30
2023-06-01fix diagnostic messageDeadbeef-2/+4
2023-06-01improve debug message by eagerly translatingDeadbeef-2/+2
2023-06-01Use translatable diagnostics in `rustc_const_eval`Deadbeef-7/+24
2023-06-01Auto merge of #112002 - saethlin:enable-sroa, r=oli-obk,scottmcmbors-5/+45
2023-06-01Lower unchecked_{div, rem} to BinOp::{Div, Rem}Scott McMurray-23/+28
2023-05-31Enable ScalarReplacementOfAggregatesBen Kimock-5/+45
2023-05-31Document handling of StorageDead.Camille GILLOT-0/+15
2023-05-31Auto merge of #111913 - oli-obk:valtrees2, r=lcnrbors-2/+2
2023-05-31Only rewrite valtree-constants to patterns and keep other constants opaqueOli Scherer-2/+2
2023-05-31Auto merge of #112070 - lcnr:disjoint-closure-capture-ub, r=oli-obkbors-3/+0
2023-05-29unique borrows are mutating useslcnr-3/+0
2023-05-29EarlyBinder::new -> EarlyBinder::bindlcnr-7/+7
2023-05-29Enable ConstGoto pass by default.Camille GILLOT-1/+1
2023-05-29Enable SeparateConstSwitch by default.Camille GILLOT-2/+5
2023-05-29Visit bodies in RPO for const-prop.Camille GILLOT-7/+8
2023-05-29Stop marking locals as dead in ConstProp.Camille GILLOT-7/+1
2023-05-28Auto merge of #111813 - scottmcm:pretty-mir, r=cjgillotbors-0/+155
2023-05-28Make EarlyBinder's inner value private; and fix all of the resulting errorsKyle Matsuda-2/+5
2023-05-28Replace EarlyBinder(x) with EarlyBinder::new(x)Kyle Matsuda-7/+7
2023-05-28Auto merge of #112026 - saethlin:misaligned-addrof, r=pnkfelixbors-0/+8
2023-05-28Auto merge of #112001 - saethlin:enable-matchbranchsimplification, r=cjgillotbors-2/+7
2023-05-27Exclude Rvalue::AddressOf for raw pointer deref alignment checksBen Kimock-0/+8
2023-05-27Try enabling MatchBranchSimplificationBen Kimock-2/+7