| Age | Commit message (Collapse) | Author | Lines | |
|---|---|---|---|---|
| 2023-01-11 | Move /src/test to /tests | Albert Larsan | -2644/+0 | |
| 2023-01-01 | Reenable limited top-down MIR inlining | Jakob Degen | -71/+98 | |
| 2022-12-25 | Give the correct track-caller location with MIR inlining. | Camille GILLOT | -10/+10 | |
| 2022-12-09 | Remove unneeded field from `SwitchTargets` | Jakob Degen | -4/+4 | |
| 2022-12-06 | make retagging work even with 'unstable' places | Ralf Jung | -4/+0 | |
| 2022-12-01 | Disable top-down inlining | Jakob Degen | -78/+217 | |
| 2022-11-26 | Rewrite dest prop. | Jakob Degen | -77/+33 | |
| This fixes a number of correctness issues from the previous version. Additionally, we use a new strategy which has much better performance charactersitics and also finds more opportunities to apply the optimization. | ||||
| 2022-11-25 | Refine instruction_set inline rules | Lokathor | -21/+56 | |
| Previously an exact match of the `instruction_set` attribute was required for an MIR inline to be considered. This change checks for an exact match *only* if the callee sets an `instruction_set` in the first place. When the callee does not declare an instruction set then it is considered to be platform agnostic code and it's allowed to be inline'd into the caller. | ||||
| 2022-11-02 | Ban dashes in miropt test file names | Jakob Degen | -890/+890 | |
| 2022-10-08 | Rollup merge of #102778 - nbdd0121:mir, r=tmiasko | Matthias Krüger | -0/+67 | |
| Fix MIR inlining of asm_unwind The MIR inlining currently doesn't handle inline asm's unwind edge correctly. This code will cause ICE: ```rust struct D; impl Drop for D { fn drop(&mut self) {} } #[inline(always)] fn foo() { let _d = D; unsafe { std::arch::asm!("", options(may_unwind)) }; } pub fn main() { foo(); } ``` This PR fixes this issue. I also take the opportunity to extract common code into a method. | ||||
| 2022-10-07 | Fix test | Gary Guo | -10/+11 | |
| 2022-10-07 | Fix MIR inlining of asm_unwind | Gary Guo | -0/+66 | |
| 2022-10-06 | Remove `mir::CastKind::Misc` | ouz-a | -1/+1 | |
| 2022-09-26 | address review | b-naber | -17/+17 | |
| 2022-09-17 | Auto merge of #98588 - b-naber:valtrees-cleanup, r=lcnr | bors | -3/+3 | |
| Use only ty::Unevaluated<'tcx, ()> in type system r? `@lcnr` | ||||
| 2022-09-14 | address review again | b-naber | -94/+7 | |
| 2022-09-13 | Use tcx.hir() utils for spans in MIR building. | Camille GILLOT | -20/+20 | |
| This corrects the `span_with_body` in the case of closures, which was incorrectly shortened to the `def_span`. | ||||
| 2022-09-13 | rebase | b-naber | -2/+2 | |
| 2022-09-13 | bless tests | b-naber | -6/+93 | |
| 2022-09-04 | Remove unnecessary `EMIT_MIR_FOR_EACH_BITWIDTH | Jakob Degen | -83/+1 | |
| 2022-08-28 | Use the declaration's SourceInfo for FnEntry retags, not the outermost | Ben Kimock | -2/+2 | |
| 2022-08-23 | ./x.py test --bless | Tomasz Miąsko | -42/+16 | |
| 2022-08-22 | bless mir-opt tests | Nilstrieb | -185/+185 | |
| 2022-08-17 | Ignore substs when checking inlining history. | Camille GILLOT | -0/+25 | |
| 2022-08-06 | ./x.py test --bless | Tomasz Miąsko | -24/+22 | |
| 2022-08-02 | Avoid invalidating the CFG in MirPatch. | Jakob Degen | -108/+0 | |
| As a part of this change, we adjust MirPatch to not needlessly create unnecessary resume blocks. | ||||
| 2022-07-28 | bless mir opt tests | Nilstrieb | -928/+928 | |
| 2022-07-12 | add new rval, pull deref early | ouz-a | -7/+7 | |
| 2022-07-09 | tweak names and output and bless | Ralf Jung | -77/+73 | |
| 2022-07-07 | Shorten span for closures. | Camille GILLOT | -41/+41 | |
| 2022-07-01 | Ignore test with panic=abort. | Camille GILLOT | -12/+14 | |
| 2022-06-30 | Skip inlining if there are normalization issues. | Camille GILLOT | -0/+57 | |
| 2022-06-30 | Check history earlier. | Camille GILLOT | -11/+38 | |
| 2022-06-15 | fix inline_into_box_place test | DrMeepster | -19/+23 | |
| 2022-06-15 | remove box derefs from codgen | DrMeepster | -23/+39 | |
| 2022-06-14 | fix wrong evaluation in clippy | b-naber | -4/+4 | |
| 2022-06-14 | address review | b-naber | -4/+4 | |
| 2022-06-14 | manually bless 32-bit mir-opt tests | b-naber | -6/+6 | |
| 2022-06-14 | implement valtrees as the type-system representation for constant values | b-naber | -6/+6 | |
| 2022-05-30 | validate derefer, run derefer inside generator | ouz-a | -3/+119 | |
| 2022-05-23 | Refactor call terminator to always hold a destination place | Jakob Degen | -28/+24 | |
| 2022-05-13 | Rollup merge of #96989 - cjgillot:defpath-use, r=davidtwco | Matthias Krüger | -18/+94 | |
| Be more precise than DefPathData::Misc. This variant was used for two unrelated things. Let's make this cleaner. | ||||
| 2022-05-12 | Bless mir-opt tests. | Camille GILLOT | -18/+94 | |
| 2022-05-12 | Add mir-opt test. | Camille GILLOT | -0/+157 | |
| 2022-05-06 | bless mir-opt | Ralf Jung | -3/+3 | |
| 2022-05-04 | Generate an intermediate temporary for `Drop` constants. | Oli Scherer | -4/+12 | |
| To limit the fallout from this, don't do this for the last (or only) operand in an rvalue. | ||||
| 2022-04-25 | Auto merge of #96116 - ouz-a:mir-opt, r=oli-obk | bors | -2/+10 | |
| Make derefer work everwhere Follow up work on previous PR's #95649 and #95857. r? rust-lang/mir-opt _Co-Authored-By: `@oli-obk_` | ||||
| 2022-04-20 | Rollup merge of #93313 - tmiasko:uninhabited, r=tmandry | Dylan DPC | -25/+24 | |
| Check if call return type is visibly uninhabited when building MIR The main motivation behind the change is to expose information about diverging calls to the generator transform and match the precision of drop range tracking which already understands that call expressions with visibly uninhabited types diverges. This change should also accept strictly more programs than before. That is programs that were previously rejected due to errors raised by control-flow sensitive checks in a code that is no longer considered reachable. Fixes #93161. | ||||
| 2022-04-16 | fix CI err | ouz-a | -0/+1 | |
| 2022-04-16 | Make derefer work everwhere | ouz-a | -3/+10 | |
| Co-Authored-By: Oli Scherer <332036+oli-obk@users.noreply.github.com> | ||||
