rust/compiler/rustc_codegen_llvm/src
Trevor Gross 660bf919dc
Rollup merge of #144987 - tgross35:llvm21-f16-f128, r=nikic
Enable f16 and f128 on targets that were fixed in LLVM21

LLVM21 fixed the new float types on a number of targets:

* SystemZ gained f16 support  https://github.com/llvm/llvm-project/pull/109164
* Hexagon now uses soft f16 to avoid recursion bugs  https://github.com/llvm/llvm-project/pull/130977
* Mips now correctly handles f128 (actually since LLVM20) https://github.com/llvm/llvm-project/pull/117525
* f128 is now correctly aligned when passing the stack on x86  https://github.com/llvm/llvm-project/pull/138092

Thus, enable the types on relevant targets for LLVM > 21.0.0.

NVPTX also gained handling of f128 as a storage type, but it lacks support for basic math operations so is still disabled here.

try-job: dist-i586-gnu-i586-i686-musl
try-job: dist-i686-linux
try-job: dist-i686-msvc
try-job: dist-s390x-linux
try-job: dist-various-1
try-job: dist-various-2
try-job: dist-x86_64-linux
try-job: i686-gnu-1
try-job: i686-gnu-2
try-job: i686-msvc-1
try-job: i686-msvc-2
try-job: test-various
2025-08-08 14:22:47 -05:00
..
back Auto merge of #144562 - matthiaskrgr:rollup-mlvn7qo, r=matthiaskrgr 2025-07-28 08:50:59 +00:00
builder gpu host code generation 2025-07-18 16:30:42 -07:00
coverageinfo coverage: Remove all unstable support for MC/DC instrumentation 2025-08-06 22:38:52 +10:00
debuginfo Revert "Preserve the .debug_gdb_scripts section" 2025-08-06 18:01:07 +00:00
llvm coverage: Remove all unstable support for MC/DC instrumentation 2025-08-06 22:38:52 +10:00
abi.rs use is_multiple_of instead of manual modulo 2025-07-05 10:55:35 +02:00
allocator.rs Make __rust_alloc_error_handler_should_panic a function 2025-07-03 10:52:21 -07:00
asm.rs emit .att_syntax when global/naked asm use that option 2025-07-09 01:09:55 +02:00
attributes.rs remove rustc_attr_data_structures 2025-07-31 14:19:27 +02:00
base.rs Revert "Preserve the .debug_gdb_scripts section" 2025-08-06 18:01:07 +00:00
builder.rs Rollup merge of #144192 - RalfJung:atomicrmw-ptr, r=nikic 2025-08-08 14:22:44 -05:00
callee.rs remove rustc_attr_data_structures 2025-07-31 14:19:27 +02:00
common.rs gpu host code generation 2025-07-18 16:30:42 -07:00
consts.rs Prevent name collisions with internal implementation details 2025-08-07 13:41:17 +00:00
context.rs Rollup merge of #142097 - ZuseZ4:offload-host1, r=oli-obk 2025-07-22 00:54:24 +08:00
declare.rs make more builder functions generic 2025-07-18 16:23:54 -07:00
errors.rs Use the object crate rather than LLVM for extracting bitcode sections 2025-07-25 11:21:28 +00:00
intrinsic.rs Unify LLVM ctlz/cttz intrinsic generation 2025-07-25 17:56:10 +02:00
lib.rs Remove support for -Zcombine-cgu 2025-07-26 13:52:24 +00:00
llvm_util.rs Rollup merge of #144987 - tgross35:llvm21-f16-f128, r=nikic 2025-08-08 14:22:47 -05:00
mono_item.rs Rollup merge of #143293 - folkertdev:naked-function-kcfi, r=compiler-errors 2025-07-18 04:27:51 +02:00
type_.rs Eliminate all direct uses of LLVMMDStringInContext2 2025-07-14 08:27:08 +00:00
type_of.rs rename BackendRepr::Vector → SimdVector 2025-02-28 17:17:45 +01:00
va_arg.rs Auto merge of #143182 - xdoardo:more-addrspace, r=workingjubilee 2025-07-07 17:28:14 +00:00
value.rs Add warn(unreachable_pub) to rustc_codegen_llvm. 2024-08-16 08:46:57 +10:00