about summary refs log tree commit diff
path: root/compiler/rustc_mir_transform/src
AgeCommit message (Expand)AuthorLines
2023-04-02Use `&IndexSlice` instead of `&IndexVec` where possibleScott McMurray-22/+22
2023-04-01Use `FieldIdx` in various things related to aggregatesScott McMurray-2/+2
2023-03-31Auto merge of #98112 - saethlin:mir-alignment-checks, r=oli-obkbors-0/+229
2023-03-31Auto merge of #109762 - scottmcm:variantdef-indexvec, r=WaffleLapkinbors-3/+4
2023-03-30Update `ty::VariantDef` to use `IndexVec<FieldIdx, FieldDef>`Scott McMurray-3/+4
2023-03-30Auto merge of #105587 - tgross35:once-cell-min, r=m-ou-sebors-1/+0
2023-03-29Stabilize a portion of 'once_cell'Trevor Gross-1/+0
2023-03-29Rollup merge of #109716 - scottmcm:field-to-fieldidx, r=oli-obkMatthias Krüger-31/+34
2023-03-29Auto merge of #108089 - Zoxc:windows-tls, r=bjorn3bors-0/+31
2023-03-29Rename `IndexVec::last` → `last_index`Scott McMurray-1/+1
2023-03-29Support TLS access into dylibs on WindowsJohn Kåre Alsaker-0/+31
2023-03-28Move `mir::Field` → `abi::FieldIdx`Scott McMurray-31/+34
2023-03-28Simplify transmutes in MIR InstCombineScott McMurray-4/+50
2023-03-28Auto merge of #108080 - oli-obk:FnPtr-trait, r=lcnrbors-1/+42
2023-03-27Add a builtin `FnPtr` traitlcnr-1/+42
2023-03-27Rollup merge of #109641 - compiler-errors:dont-elaborate-non-obl, r=oli-obkMatthias Krüger-2/+2
2023-03-26Don't elaborate non-obligations into obligationsMichael Goulet-2/+2
2023-03-26Auto merge of #109626 - matthiaskrgr:rollup-k0y7bdd, r=matthiaskrgrbors-8/+5
2023-03-26Auto merge of #106428 - saethlin:inline-diverging-functions, r=cjgillotbors-9/+60
2023-03-25Refactor: `VariantIdx::from_u32(0)` -> `FIRST_VARIANT`Scott McMurray-8/+5
2023-03-25Explain how we get to skip checking for cleanup blocks in the visitorBen Kimock-0/+2
2023-03-24Skip checks for common types with alignment 1Ben Kimock-0/+7
2023-03-24Use Vec::split_offBen Kimock-1/+1
2023-03-24Clarify that we are doing ptr.addr() internallyBen Kimock-1/+1
2023-03-23A MIR transform that checks pointers are alignedBen Kimock-0/+222
2023-03-22Add `CastKind::Transmute` to MIRScott McMurray-0/+35
2023-03-23Rollup merge of #109435 - oli-obk:🇨🇭🥚_copy_op, r=RalfJungDylan DPC-2/+3
2023-03-23Rollup merge of #109179 - llogiq:intrinsically-option-as-slice, r=eholkDylan DPC-0/+30
2023-03-22Auto merge of #109087 - cjgillot:sparse-bb-clear, r=davidtwcobors-22/+61
2023-03-21LocalCrate keyMichael Goulet-1/+2
2023-03-21Use local key in providersMichael Goulet-23/+14
2023-03-21Add a layout argument to `enforce_validity`.Oli Scherer-2/+3
2023-03-19Prefer if cfg!.Camille GILLOT-12/+14
2023-03-19Only clear locals that are known to be written to.Camille GILLOT-16/+53
2023-03-18Enable inlining of diverging functionsBen Kimock-7/+0
2023-03-18Remove duplicate switch targetsBen Kimock-1/+15
2023-03-18Remove duplicate unreachable blocksBen Kimock-1/+43
2023-03-18move Option::as_slice to intrinsicAndre Bogus-0/+30
2023-03-16Auto merge of #108944 - cjgillot:clear-local-info, r=oli-obkbors-10/+22
2023-03-16Auto merge of #107270 - cjgillot:remove-zst, r=oli-obkbors-29/+107
2023-03-15Auto merge of #109035 - scottmcm:ptr-read-should-know-undef, r=WaffleLapkin,J...bors-0/+29
2023-03-14Improved implementation and comments after code review feedbackScott McMurray-13/+18
2023-03-14ICE when checking LocalInfo on runtime MIR.Camille GILLOT-3/+9
2023-03-14Remove LocalKind::Var.Camille GILLOT-2/+2
2023-03-14Wrap the whole LocalInfo in ClearCrossCrate.Camille GILLOT-5/+11
2023-03-13Generalize operation.Camille GILLOT-14/+27
2023-03-13Rename method.Camille GILLOT-7/+7
2023-03-13Replace ZST operands and debuginfo by constants.Camille GILLOT-28/+93
2023-03-13Auto merge of #108471 - clubby789:unbox-the-syntax, r=Nilstrieb,est31bors-21/+25
2023-03-12Auto merge of #108872 - cjgillot:simp-const-prop, r=oli-obkbors-277/+195