about summary refs log tree commit diff
path: root/compiler/rustc_codegen_cranelift/src/discriminant.rs
AgeCommit message (Collapse)AuthorLines
2025-06-03Change `tag_field` to `FieldIdx` in `Variants::Multiple`Scott McMurray-3/+3
It was already available as a generic parameter anyway, and it's not like we'll ever put a tag in the 5-billionth field.
2024-12-18make no-variant types a dedicated Variants variantRalf Jung-3/+4
2024-12-18Variants::Single: do not use invalid VariantIdx for uninhabited enumsRalf Jung-2/+3
2024-10-29cg_clif: `rustc_abi::Abi` => `BackendRepr`Jubilee Young-2/+2
2024-10-08cg_clif: Factor out rustc_target::abiJubilee Young-1/+2
2024-05-13Merge commit '3270432f4b0583104c8b9b6f695bf97d6bbf3ac2' into ↵bjorn3-18/+27
sync_cg_clif-2024-05-13
2023-04-14Remove from cranelift too.Camille GILLOT-89/+0
2023-03-28Move `mir::Field` → `abi::FieldIdx`Scott McMurray-3/+3
The first PR for https://github.com/rust-lang/compiler-team/issues/606 This is just the move-and-rename, because it's plenty big-and-bitrotty already. Future PRs will start using `FieldIdx` more broadly, and concomitantly removing `FieldIdx::new`s.
2022-12-14Merge commit '2bb3996244cf1b89878da9e39841e9f6bf061602' into ↵bjorn3-46/+161
sync_cg_clif-2022-12-14
2022-09-07Change name of "dataful" variant to "untagged"Michael Benfield-5/+6
This is in anticipation of a new enum layout, in which the niche optimization may be applied even when multiple variants have data.
2022-08-24Merge commit 'e9d1a0a7b0b28dd422f1a790ccde532acafbf193' into ↵bjorn3-9/+11
sync_cg_clif-2022-08-24
2022-04-22Merge commit 'f2cdd4a78d89c009342197cf5844a21f8aa813df' into ↵bjorn3-2/+10
sync_cg_clif-2022-04-22
2022-04-05Mark scalar layout unions so that backends that do not support partially ↵Oli Scherer-1/+1
initialized scalars can special case them.
2022-03-20Merge commit '370c397ec9169809e5ad270079712e0043514240' into ↵bjorn3-5/+4
sync_cg_clif-2022-03-20
2021-03-05Merge commit '9a0c32934ebe376128230aa8da3275697b2053e7' into ↵bjorn3-34/+11
sync_cg_clif-2021-03-05
2020-11-27Merge commit '5988bbd24aa87732bfa1d111ba00bcdaa22c481a' into ↵bjorn3-5/+26
sync_cg_clif-2020-11-27
2020-11-05Fix even more URLsGuillaume Gomez-1/+1
2020-11-04Fix cranelift buildoli-3/+4
2020-10-26Add 'compiler/rustc_codegen_cranelift/' from commit ↵bjorn3-0/+170
'793d26047f994e23415f8f6bb5686ff25d3dda92' git-subtree-dir: compiler/rustc_codegen_cranelift git-subtree-mainline: cf798c1ec65a5ec3491846777f9003fabb881b4a git-subtree-split: 793d26047f994e23415f8f6bb5686ff25d3dda92