diff options
| author | Matthias Krüger <matthias.krueger@famsik.de> | 2024-05-10 16:10:46 +0200 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2024-05-10 16:10:46 +0200 |
| commit | ce11a86648bd7242260b05ce0208d26f1c6ac767 (patch) | |
| tree | 7b689d88fd8bbe90f9f505fd68b39b906593d411 /tests/codegen/patchable-function-entry | |
| parent | 6b7db50d8902c38e2560207250e02a19134cf48f (diff) | |
| parent | f26221a936de0f4156b4ec9489ec7d9af78392ad (diff) | |
| download | rust-ce11a86648bd7242260b05ce0208d26f1c6ac767.tar.gz rust-ce11a86648bd7242260b05ce0208d26f1c6ac767.zip | |
Rollup merge of #124797 - beetrees:primitive-float, r=davidtwco
Refactor float `Primitive`s to a separate `Float` type Now there are 4 of them, it makes sense to refactor `F16`, `F32`, `F64` and `F128` out of `Primitive` and into a separate `Float` type (like integers already are). This allows patterns like `F16 | F32 | F64 | F128` to be simplified into `Float(_)`, and is consistent with `ty::FloatTy`. As a side effect, this PR also makes the `Ty::primitive_size` method work with `f16` and `f128`. Tracking issue: #116909 `@rustbot` label +F-f16_and_f128
Diffstat (limited to 'tests/codegen/patchable-function-entry')
0 files changed, 0 insertions, 0 deletions
