about summary refs log tree commit diff
path: root/compiler/rustc_mir/src/transform
AgeCommit message (Expand)AuthorLines
2021-02-21Make MatchBranchSimplification clean up after itselfSimon Vandel Sillesen-1/+10
2021-02-21Drive-by formatting of commentSimon Vandel Sillesen-2/+2
2021-02-21remove redundant wrapping of return types of allow_internal_unstable() and ru...Matthias Krüger-2/+1
2021-02-20all InterpError allocate now, so adjust alloc-error-checkRalf Jung-2/+2
2021-02-20make `super_projection` take a `PlaceRef`Henry Boisdequin-2/+1
2021-02-20Auto merge of #82124 - tmiasko:op-ty-ref, r=oli-obkbors-28/+28
2021-02-18Stabilize `unsafe_op_in_unsafe_fn` lintLeSeulArtichaut-3/+2
2021-02-18Print -Ztime-passes (and misc stats/logs) on stderr, not stdout.Eduard-Mihai Burtescu-3/+3
2021-02-17Reduce size of InterpErrorInfo to 8 bytesTomasz Miąsko-1/+1
2021-02-16./x.py fmtTomasz Miąsko-3/+3
2021-02-16Pass PlaceTy by reference not valueTomasz Miąsko-9/+9
2021-02-16Pass OpTy by reference not valueTomasz Miąsko-17/+17
2021-02-16make `visit_projection` take a `PlaceRef`Henry Boisdequin-12/+2
2021-02-16update formatingHenry Boisdequin-6/+16
2021-02-15Rollup merge of #81503 - henryboisdequin:fix-const-fn-arr-err-msg, r=estebankJonas Schievink-0/+35
2021-02-14use option<PlaceRef<'tcx>> to clean up mir code a littleHenry Boisdequin-9/+10
2021-02-13Use debug log level for developer oriented logsTomasz Miąsko-4/+7
2021-02-11Auto merge of #81350 - tmiasko:instrument-debug, r=lcnrbors-1/+1
2021-02-05Never MIR inline functions with a different instruction setTomasz Miąsko-0/+5
2021-02-03added a suggestion to create a `const` item if the `fn` in the array repeat e...Henry Boisdequin-0/+35
2021-01-31Rollup merge of #80404 - JulianKnodt:arr_ref, r=oli-obkJonas Schievink-63/+3
2021-01-30Remove const_in_array_rep_exprkadmin-64/+5
2021-01-28Avoid memory allocation when removing dead blocksTomasz Miąsko-7/+6
2021-01-27Check that value is explicitly nonekadmin-2/+1
2021-01-25Auto merge of #68828 - oli-obk:inline_cycle, r=wesleywiserbors-18/+254
2021-01-24Rollup merge of #78578 - oli-obk:const_mut_refs, r=RalfJungJonas Schievink-30/+70
2021-01-24Reduce log level used by tracing instrumentation from info to debugTomasz Miąsko-1/+1
2021-01-23Leave some notes for future changes to the MIR opt level of mir inliningoli-1/+9
2021-01-23Make sure that const prop does not produce unsilenceable lints after inliningoli-1/+9
2021-01-23Prevent query cycles during inliningoli-17/+237
2021-01-23Auto merge of #80579 - RalfJung:no-fallible-promotion, r=oli-obkbors-26/+86
2021-01-23Do not allow arbitrary mutable references in `static mut`, just keep with the...oli-6/+2
2021-01-23Adjust wording of a diagnosticoli-1/+1
2021-01-23Permit mutable references in all const contextsoli-28/+72
2021-01-22Auto merge of #81101 - tmiasko:combine-now, r=nagisabors-284/+77
2021-01-22do promote array indexing if we know it is in-boundsRalf Jung-15/+49
2021-01-22avoid promoting division, modulo and indexing operations that could failRalf Jung-13/+39
2021-01-21Auto merge of #81122 - tmiasko:no-drop, r=davidtwcobors-41/+20
2021-01-21Rollup merge of #81187 - eltociear:patch-6, r=jonas-schievinkYuki Okushi-1/+1
2021-01-21Rollup merge of #81178 - tmiasko:no-landing-pads, r=oli-obkYuki Okushi-23/+8
2021-01-19Fix typo in counters.rsIkko Ashimine-1/+1
2021-01-19Auto merge of #81110 - LeSeulArtichaut:fix-unused-unsafe-label, r=RalfJungbors-8/+9
2021-01-18Auto merge of #80707 - oli-obk:stability_hole_const_intrinsics, r=RalfJungbors-8/+18
2021-01-18Combine instructions immediatelyTomasz Miąsko-147/+79
2021-01-18Remove disabled transformation from instcombineTomasz Miąsko-142/+3
2021-01-18Rollup merge of #81121 - tmiasko:simplify-cfg-no-dbg, r=jonas-schievinkAshley Mannix-1/+1
2021-01-18Rollup merge of #81116 - bugadani:body-span, r=wesleywiserAshley Mannix-1/+1
2021-01-18Only inherit const stability for methods of `impl const Trait` blocksoli-1/+1
2021-01-18Auto merge of #80865 - oliviacrain:proj_based, r=RalfJungbors-90/+83
2021-01-18Visit only terminators when removing landing padsTomasz Miąsko-23/+8