about summary refs log tree commit diff
path: root/compiler/rustc_mir/src
AgeCommit message (Expand)AuthorLines
2021-03-27lazily calls some fnsklensy-1/+1
2021-03-25Auto merge of #83445 - erikdesjardins:rmunion, r=RalfJungbors-1/+33
2021-03-25Auto merge of #83307 - richkadel:cov-unused-functions-1.1, r=tmandrybors-28/+32
2021-03-24RemoveZsts: don't touch unionsErik Desjardins-1/+33
2021-03-23Add has_default to GenericParamDefKind::Constkadmin-1/+2
2021-03-23Auto merge of #83177 - erikdesjardins:zstassign, r=oli-obkbors-52/+86
2021-03-22only run RemoveZsts at mir-opt-level 3 and aboveErik Desjardins-0/+3
2021-03-22Auto merge of #79278 - mark-i-m:stabilize-or-pattern, r=nikomatsakisbors-1/+1
2021-03-22Rollup merge of #83351 - RalfJung:precise-const-drop, r=oli-obkDylan DPC-1/+7
2021-03-21post-drop-elab check-const: explain why we still check qualifsRalf Jung-1/+7
2021-03-21Rollup merge of #83327 - tmiasko:visit-lhs, r=davidtwcoDylan DPC-1/+3
2021-03-20update `const_eval_resolve`lcnr-2/+2
2021-03-20extract `ConstKind::Unevaluated` into a structlcnr-17/+19
2021-03-19avoid calling for types which can't be ZSTsErik Desjardins-12/+30
2021-03-19stabilize or_patternsmark-1/+1
2021-03-19coverage bug fixes and optimization supportRich Kadel-28/+32
2021-03-20Extend comment in `UsedLocals::visit_lhs`Tomasz Miąsko-1/+3
2021-03-19Rollup merge of #83277 - spastorino:early_otherwise-opt-unsound, r=oli-obkDylan DPC-0/+5
2021-03-19Auto merge of #82951 - sexxi-goose:wr-mir-replace-methods2, r=nikomatsakisbors-44/+81
2021-03-18Replace closures_captures and upvar_capture with closure_min_capturesJennifer Wills-44/+81
2021-03-18Mark early otherwise optimization unsoundSantiago Pastorino-0/+5
2021-03-18Remove unwrap_none/expect_none from compiler/.Mara Bos-12/+19
2021-03-17remove inhabitedness checkErik Desjardins-1/+1
2021-03-17remove unnecessary and ineffective cachingErik Desjardins-22/+9
2021-03-18Rollup merge of #83080 - tmiasko:inline-coverage, r=wesleywiserDylan DPC-18/+57
2021-03-16move to separate pass, cache layoutsErik Desjardins-26/+52
2021-03-16Auto merge of #82936 - oli-obk:valtree, r=RalfJung,lcnr,matthewjasperbors-110/+261
2021-03-16Update compiler/rustc_mir/src/const_eval/mod.rsOli Scherer-5/+4
2021-03-15remove assignments to ZST placesErik Desjardins-1/+26
2021-03-15revert changes from #83118 to mark zst return place as unusedErik Desjardins-52/+27
2021-03-15Functions inlined into reachable functions are reachableTomasz Miąsko-0/+25
2021-03-15Make source-based code coverage compatible with MIR inliningTomasz Miąsko-18/+32
2021-03-15Use tracing instrumentation for better bug diagnosingOli Scherer-8/+3
2021-03-15Explain pointer and dyn Trait handling in const_to_valtreeOli Scherer-9/+7
2021-03-15Explain how we encode enums at the encoding siteOli Scherer-3/+4
2021-03-15Explain why we do not allow const_to_valtree to read from staticsOli Scherer-1/+6
2021-03-15s/ConstantSource/ConstantKind/Oli Scherer-12/+12
2021-03-14remove unnecessary conditionErik Desjardins-3/+1
2021-03-13Move ZST check inside UsedLocalsSimon Vandel Sillesen-50/+53
2021-03-13Extend SimplifyLocals to remove ZST writesSimon Vandel Sillesen-3/+27
2021-03-12We won't support trait object constants in type level constants for the forse...Oli Scherer-3/+5
2021-03-12Prepare mir::Constant for ty::Const only supporting valtreesOli Scherer-107/+157
2021-03-12Intern valtree field vectorOli Scherer-3/+7
2021-03-12Implement valtreeOli Scherer-3/+95
2021-03-12Auto merge of #82935 - henryboisdequin:diagnostic-cleanups, r=estebankbors-6/+7
2021-03-12Don't show note if `span` is `DUMMY_SP`Henry Boisdequin-6/+7
2021-03-10Auto merge of #82982 - Dylan-DPC:rollup-mt497z7, r=Dylan-DPCbors-3/+7
2021-03-10Rollup merge of #82977 - camsteffen:opt-get-insert-def, r=m-ou-seDylan DPC-2/+3
2021-03-10Auto merge of #76570 - cratelyn:implement-rfc-2945-c-unwind-abi, r=Amanieubors-3/+3
2021-03-10Rename Option::get_or_insert_defaultCameron Steffen-2/+3