| Commit message (Expand) | Author | Age | Files | Lines |
* | Reorder to keep duplicate checks in sync. | Luqman Aden | 2023-05-05 | 1 | -7/+12 |
* | Review feedback | Luqman Aden | 2023-05-05 | 2 | -14/+23 |
* | Don't discard preferred alignment in scalar pair. | Luqman Aden | 2023-05-05 | 1 | -4/+2 |
* | Factor out checks in layout check and add helper inherent_size. | Luqman Aden | 2023-05-05 | 1 | -1/+22 |
* | Incorporate review feedback from 103926. | Luqman Aden | 2023-05-05 | 1 | -38/+33 |
* | Add helper methods inherent_align and to_union on Abi. | Luqman Aden | 2023-05-05 | 1 | -1/+26 |
* | Do not use scalar layout if there are ZSTs with alignment > 1 | Oli Scherer | 2023-05-05 | 1 | -20/+42 |
* | layout-alignment-promotion logic should depend on the niche-bias | The 8472 | 2023-04-28 | 1 | -7/+22 |
* | [review] add comments, turn flag into enum | The 8472 | 2023-04-28 | 1 | -23/+44 |
* | add tracing for layout optimizations | The 8472 | 2023-04-27 | 1 | -0/+44 |
* | don't promote large fields to higher alignments if that would affect niche pl... | The 8472 | 2023-04-27 | 1 | -13/+24 |
* | try two different niche-placement strategies when layouting univariant structs | The 8472 | 2023-04-27 | 1 | -6/+70 |
* | refactor: extract function | The 8472 | 2023-04-27 | 1 | -214/+220 |
* | Split `{Idx, IndexVec, IndexSlice}` into their own modules | Maybe Waffle | 2023-04-24 | 1 | -1/+1 |
* | Store hashes in special types so they aren't accidentally encoded as numbers | Ben Kimock | 2023-04-18 | 2 | -4/+6 |
* | Rollup merge of #110394 - scottmcm:less-idx-new, r=WaffleLapkin | Matthias Krüger | 2023-04-17 | 2 | -5/+4 |
|\ |
|
| * | Various minor Idx-related tweaks | Scott McMurray | 2023-04-16 | 2 | -5/+4 |
* | | Remove the loop in `Align::from_bytes` | Scott McMurray | 2023-04-16 | 1 | -7/+4 |
|/ |
|
* | Fix some clippy::complexity | Nilstrieb | 2023-04-09 | 1 | -1/+1 |
* | Enforce that PointerLike requires a pointer-like ABI | Michael Goulet | 2023-04-08 | 1 | -0/+10 |
* | Use `FieldIdx` in `FieldsShape` | Scott McMurray | 2023-04-04 | 2 | -52/+46 |
* | Use `&IndexSlice` instead of `&IndexVec` where possible | Scott McMurray | 2023-04-02 | 2 | -3/+3 |
* | Move `mir::Field` → `abi::FieldIdx` | Scott McMurray | 2023-03-28 | 1 | -0/+26 |
* | Refactor: `VariantIdx::from_u32(0)` -> `FIRST_VARIANT` | Scott McMurray | 2023-03-25 | 2 | -11/+24 |
* | Unify validity checks into a single query | Nilstrieb | 2023-02-23 | 1 | -8/+0 |
* | Rollup merge of #107592 - workingjubilee:use-16-bit-enum-on-16-bit-targets, r... | Matthias Krüger | 2023-02-17 | 1 | -1/+3 |
|\ |
|
| * | Default repr(C) enums to c_int size | Jubilee Young | 2023-02-16 | 1 | -1/+3 |
* | | Rollup merge of #107163 - mikebenfield:parameters-pr, r=TaKO8Ki | Dylan DPC | 2023-02-15 | 2 | -87/+130 |
|\ \ |
|
| * | | Remove some superfluous type parameters from layout.rs. | Michael Benfield | 2023-01-21 | 2 | -87/+130 |
* | | | also do not add noalias on not-Unpin Box | Ralf Jung | 2023-02-06 | 1 | -2/+2 |
* | | | make PointerKind directly reflect pointer types | Ralf Jung | 2023-02-06 | 1 | -15/+6 |
* | | | PointeeInfo is advisory only | Ralf Jung | 2023-01-31 | 1 | -0/+2 |
* | | | abi: add `AddressSpace` field to `Primitive::Pointer` | Erik Desjardins | 2023-01-22 | 1 | -10/+14 |
* | | | rustc_abi: remove Primitive::{is_float,is_int} | Erik Desjardins | 2023-01-22 | 1 | -12/+0 |
|/ / |
|
* | | Rollup merge of #104505 - WaffleLapkin:no-double-spaces-in-comments, r=jackh726 | Matthias Krüger | 2023-01-17 | 1 | -2/+2 |
|\ \
| |/
|/| |
|
| * | Remove double spaces after dots in comments | Maybe Waffle | 2023-01-17 | 1 | -2/+2 |
* | | Removed various double spaces in compiler source comments. | André Vennberg | 2023-01-14 | 1 | -1/+1 |
|/ |
|
* | Auto merge of #105446 - erikdesjardins:vt-size, r=nikic | bors | 2022-12-18 | 1 | -0/+12 |
|\ |
|
| * | Add 0..=isize::MAX range metadata to size loads from vtables | Erik Desjardins | 2022-12-08 | 1 | -0/+12 |
* | | minor code cleanups | Matthias Krüger | 2022-12-12 | 1 | -6/+3 |
* | | compiler: remove unnecessary imports and qualified paths | KaDiWa | 2022-12-10 | 1 | -1/+0 |
|/ |
|
* | Auto merge of #105175 - michaelwoerister:add-stable-ord-trait, r=nagisa | bors | 2022-12-06 | 1 | -0/+7 |
|\ |
|
| * | Add StableOrd trait as proposed in MCP 533. | Michael Woerister | 2022-12-02 | 1 | -0/+7 |
* | | Rollup merge of #105050 - WaffleLapkin:uselessrefign, r=jyn514 | Matthias Krüger | 2022-12-03 | 1 | -5/+5 |
|\ \
| |/
|/| |
|
| * | Remove useless borrows and derefs | Maybe Waffle | 2022-12-01 | 1 | -5/+5 |
* | | Extract llvm datalayout parsing out of spec module | hkalbasi | 2022-11-30 | 1 | -0/+96 |
|/ |
|
* | Simplify and document range layout computation | Oli Scherer | 2022-11-25 | 1 | -13/+11 |
* | move things from rustc_target::abi to rustc_abi | hkalbasi | 2022-11-24 | 3 | -0/+2370 |