rust/compiler/rustc_codegen_llvm/src
Matthias Krüger 1ae0d90b72
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
2024-05-10 16:10:46 +02:00
..
back Add support for Arm64EC to the Standard Library 2024-04-15 16:05:16 -07:00
coverageinfo coverage: Replace max_decision_depth with num_condition_bitmaps 2024-05-01 09:55:22 +10:00
debuginfo Rollup merge of #124797 - beetrees:primitive-float, r=davidtwco 2024-05-10 16:10:46 +02:00
llvm Auto merge of #121298 - nikic:writable, r=cuviper 2024-04-25 04:31:56 +00:00
abi.rs Auto merge of #121298 - nikic:writable, r=cuviper 2024-04-25 04:31:56 +00:00
allocator.rs Add -Zuse-sync-unwind 2023-12-31 15:27:43 +08:00
asm.rs Refactor float Primitives to a separate Float type 2024-05-06 14:56:10 +01:00
attributes.rs Use the Align type when parsing alignment attributes 2024-04-01 03:05:55 +01:00
base.rs compiler: replace cstr macro with c str literals in compiler and few other c str replacements 2023-12-03 14:54:09 +03:00
builder.rs Refactor float Primitives to a separate Float type 2024-05-06 14:56:10 +01:00
callee.rs Fix clippy::needless_borrow in the compiler 2023-11-21 20:13:40 +01:00
common.rs Codegen ZSTs without an allocation 2024-04-16 21:13:21 -04:00
consts.rs Rollup merge of #124178 - GuillaumeGomez:llvm-backend, r=oli-obk 2024-04-22 20:25:58 +02:00
context.rs Adjust 64-bit ARM data layouts for LLVM update 2024-05-06 16:53:17 +00:00
declare.rs sanitizers: Create the rustc_sanitizers crate 2024-04-08 12:05:41 -07:00
errors.rs Rename IntoDiagnostic as Diagnostic. 2024-03-11 09:15:09 +11:00
intrinsic.rs Refactor float Primitives to a separate Float type 2024-05-06 14:56:10 +01:00
lib.rs Remove extern crate rustc_macros from numerous crates. 2024-04-29 10:21:54 +10:00
llvm_util.rs llvm: update riscv target feature to match LLVM 19 2024-04-17 16:15:24 -04:00
mono_item.rs Some comment nits 2024-03-12 08:51:20 +00:00
type_.rs Remove my scalar_copy_backend_type optimization attempt 2024-04-09 08:51:32 -07:00
type_of.rs Refactor float Primitives to a separate Float type 2024-05-06 14:56:10 +01:00
va_arg.rs Add arm64ec-pc-windows-msvc target 2024-03-06 17:49:37 -08:00
value.rs mv compiler to compiler/ 2020-08-30 18:45:07 +03:00