summary refs log tree commit diff
path: root/compiler/rustc_mir/src/transform
AgeCommit message (Expand)AuthorLines
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
2021-01-03remove redundant closures (clippy::redundant_closure)Matthias Krüger-6/+6
2021-01-01Don't mix feature gates and hard errors, decide on one per op and stick with itoli-15/+18
2021-01-01Reinstate the error-code error over the feature gate erroroli-9/+15
2021-01-01Enhance some commentsoli-0/+2
2021-01-01Fix cell checks in const fnoli-0/+7
2021-01-01The proper name for the rule is "enclosing scope"oli-1/+1
2021-01-01Allow references to interior mutable data behind a feature gateoli-1/+53
2020-12-31remove move_val_init leftoversRalf Jung-8/+0
2020-12-30Rollup merge of #80458 - RalfJung:promotion-refactor, r=oli-obkMara Bos-99/+115
2020-12-30where possible, pass slices instead of &Vec or &String (clippy::ptr_arg)Matthias Krüger-5/+5
2020-12-29Remove `compile-fail` test suiteVadim Petrochenkov-1/+1
2020-12-29fix a commentRalf Jung-1/+1
2020-12-29Auto merge of #79084 - simonvandel:instcombine-perf, r=oli-obkbors-4/+24
2020-12-28make more matches exhaustiveRalf Jung-20/+41
2020-12-28use exhaustive pattern match to prevent future bugsSimon Vandel Sillesen-4/+13
2020-12-28merge two match'es for more exhaustivenessRalf Jung-39/+41
2020-12-28promotion: factor some common code into validate_refRalf Jung-57/+50
2020-12-25Auto merge of #80364 - Dylan-DPC:rollup-0y96okz, r=Dylan-DPCbors-1/+1
2020-12-25Auto merge of #79762 - Swatinem:remap-doctest-coverage, r=Swatinembors-1/+5
2020-12-23Fix typo in simplify_try.rsIkko Ashimine-1/+1
2020-12-19also const-check FakeReadRalf Jung-6/+5
2020-12-19Remap instrument-coverage line numbers in doctestsArpad Borsos-1/+5
2020-12-17Suppress `CONST_ITEM_MUTATION` lint if a dereference occurs anywhereAaron Hill-3/+5
2020-12-17Rollup merge of #80040 - tmiasko:always-lower-intrinsics, r=Dylan-DPCGuillaume Gomez-1/+1
2020-12-17Rollup merge of #80072 - richkadel:llvm-coverage-counters-2.2.1, r=tmandryYuki Okushi-2/+2
2020-12-17Rollup merge of #79882 - wecing:master, r=oli-obkYuki Okushi-0/+27
2020-12-15Fixed conflict with drop elaboration and coverageRich Kadel-2/+2
2020-12-15Rollup merge of #79958 - richkadel:llvm-coverage-counters-2.2.0, r=tmandryGuillaume Gomez-20/+24
2020-12-15Auto merge of #78068 - RalfJung:union-safe-assign, r=nikomatsakisbors-72/+93
2020-12-15Auto merge of #73210 - wesleywiser:consts_in_debuginfo, r=oli-obkbors-14/+131
2020-12-15Auto merge of #79922 - tmiasko:lower-discriminant, r=nagisabors-0/+15
2020-12-14Convenience funcs for `some_option.unwrap_or(...)`Rich Kadel-21/+11
2020-12-14Disable the constant debuginfo promotion pass by defaultWesley Wiser-1/+5
2020-12-15Always run intrinsics lowering passTomasz Miąsko-1/+1
2020-12-14Improve warnings on incompatible options involving -Zinstrument-coverageRich Kadel-19/+21
2020-12-13Rollup merge of #79984 - Nadrieril:remove-unused-dep, r=jyn514Yuki Okushi-3/+0