about summary refs log tree commit diff
path: root/compiler/rustc_mir/src
AgeCommit message (Expand)AuthorLines
2021-03-29Auto merge of #83185 - jyn514:remove-dead-code, r=oli-obkbors-43/+2
2021-03-28unaligned_references: align(N) fields in packed(N) structs are fineRalf Jung-11/+24
2021-03-27Address more review commentsJoshua Nelson-0/+5
2021-03-27Address review commentsJoshua Nelson-6/+12
2021-03-27Remove (lots of) dead codeJoshua Nelson-52/+0
2021-03-27Rollup merge of #82917 - cuviper:iter-zip, r=m-ou-seDylan DPC-29/+32
2021-03-27Rollup merge of #82525 - RalfJung:unaligned-ref-warn, r=petrochenkovDylan DPC-143/+77
2021-03-27make unaligned_refereces future-incompat lint warn-by-default, and remove the...Ralf Jung-143/+77
2021-03-27lazily calls some fnsklensy-1/+1
2021-03-26Use iter::zip in compiler/Josh Stone-29/+32
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