about summary refs log tree commit diff
path: root/compiler/rustc_mir/src/transform
AgeCommit message (Expand)AuthorLines
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
2021-01-17Fix `unused_unsafe` label with `unsafe_block_in_unsafe_fnLeSeulArtichaut-8/+9
2021-01-17Avoid logging the whole MIR body in SimplifyCfgTomasz Miąsko-1/+1
2021-01-17Copy body span instead of querying itDániel Buga-1/+1
2021-01-17Add regression testoli-5/+15
2021-01-17Remove an unnecessary field from a `NonConstOp`oli-3/+3
2021-01-17Visit only terminators when removing unneeded dropsTomasz Miąsko-41/+20
2021-01-16Review changesJack Huey-16/+16
2021-01-16Auto merge of #80290 - RalfJung:less-intrinsic-write, r=lcnrbors-8/+0
2021-01-16Use PlaceRef more consistently in rustc_mirOlivia Crain-90/+83
2021-01-15inline: Round word-size cost estimates upTomasz Miąsko-1/+1
2021-01-14Use Option::map_or instead of `.map(..).unwrap_or(..)`LingMan-2/+2
2021-01-12Auto merge of #78407 - oli-obk:ub_checkable_ctfe, r=RalfJung,pnkfelixbors-27/+123
2021-01-12Coverage computation needs access to the MIR, toooli-6/+13
2021-01-12Auto merge of #80499 - matthiaskrgr:red_clos, r=estebankbors-6/+6
2021-01-10Add ABI argument to `find_mir_or_eval_fn`Nym Seddon-0/+2
2021-01-08Rollup merge of #80521 - richkadel:llvm-coverage-counters-2.4.0, r=wesleywiserYuki Okushi-0/+9
2021-01-07Auto merge of #80648 - Aaron1011:expn-data-private, r=petrochenkovbors-4/+4
2021-01-04Do not run const prop on the `mir_for_ctfe` of `const fn`oli-19/+34
2021-01-04No doc comments on expressionsoli-3/+3
2021-01-04Small comment adjustmentsoli-0/+3
2021-01-04Move MIR body loading to a machine functionoli-0/+7
2021-01-04Document all the thingsoli-0/+13
2021-01-04Simplify the `optimize_mir` queryoli-17/+9
2021-01-04Differentiate between the availability of ctfe MIR and runtime MIRoli-12/+2
2021-01-04Keep an unoptimized duplicate of `const fn` aroundoli-0/+70
2021-01-04Stop optimizing promotedsoli-1/+0
2021-01-04Inlining enabled by -mir-opt-level > 1 is incompatible with coverageRich Kadel-0/+9
2021-01-03Stylistic fixes to diagnostic messagesoli-3/+3
2021-01-03Refactor the non-transient cell borrow error diagnosticoli-3/+22
2021-01-03Dangling pointers point to everything and nothingOli Scherer-2/+1
2021-01-03Grammar fixesOli Scherer-1/+1
2021-01-03Make `ExpnData` fields `krate` and `orig_id` privateAaron Hill-4/+4
2021-01-03Update now-more-precise operation with a preciser messageoli-2/+2
2021-01-03Apply suggestions from code reviewOli Scherer-4/+9