rust/compiler/rustc_codegen_llvm/src
Matthias Krüger 74d1d59e7c
Rollup merge of #143125 - tgross35:aarch64-neon-llvm19-f16, r=cuviper
Disable f16 on Aarch64 without neon for llvm < 20.1.1

This check was added unconditionally in c51b229140 ("Disable f16 on Aarch64 without `neon`") and reverted in 4a8d35709e ("Revert "Disable `f16` on Aarch64 without `neon`"") since it did not fail in Rust's build. However, it is still possible to hit this crash if using LLVM 19 built with assertions, so disable the type conditionally based on version here.

Note that for these builds, a similar patch is needed in the build script for `compiler-builtins` since it does not yet use `cfg(target_has_reliable_f16)` (hopefully to be resolved in the near future).

Report: https://github.com/rust-lang/rust/pull/139276#issuecomment-3014781652
Original LLVM issue: https://github.com/llvm/llvm-project/issues/129394
2025-07-01 04:25:34 +02:00
..
back added PrintTAFn flag for autodiff 2025-06-25 02:11:29 +00:00
builder add and use generic get_const_int function 2025-06-16 14:23:06 -07:00
coverageinfo Remove methods from StaticCodegenMethods that are not called in cg_ssa itself 2025-05-28 20:55:00 +00:00
debuginfo Change tag_field to FieldIdx in Variants::Multiple 2025-06-03 23:42:21 -07:00
llvm Rollup merge of #142809 - KMJ-007:ad-type-analysis-flag, r=ZuseZ4 2025-06-25 22:14:55 +02:00
abi.rs Fix RISC-V C function ABI when passing/returning structs containing floats 2025-06-16 10:14:07 +01:00
allocator.rs Change __rust_no_alloc_shim_is_unstable to be a function 2025-06-16 10:54:07 -07:00
asm.rs Add f16 inline asm support for LoongArch 2025-06-14 09:39:30 +08:00
attributes.rs centralize -Zmin-function-alignment logic 2025-06-22 00:47:10 +02:00
base.rs Make predefine methods take &mut self 2025-05-28 20:55:00 +00:00
builder.rs Remove dead instructions in terminate blocks 2025-06-22 11:38:47 -04:00
callee.rs don't depend on rustc_attr_parsing if rustc_data_structures will do 2025-05-09 23:16:55 +02:00
common.rs give Pointer::into_parts a more scary name and offer a safer alternative 2025-06-29 00:16:19 +02:00
consts.rs store target.min_global_align as an Align 2025-06-07 22:06:42 +02:00
context.rs Rollup merge of #142588 - ZuseZ4:generic-ctx-imprv, r=oli-obk 2025-06-17 23:19:36 +02:00
declare.rs Make allocator shim creation mostly use safe code 2025-02-24 15:11:29 +00:00
errors.rs move -Ctarget-feature handling into shared code 2025-06-19 09:44:01 +09:00
intrinsic.rs Rollup merge of #142078 - sayantn:more-intrinsics, r=workingjubilee 2025-06-29 12:29:53 +02:00
lib.rs Rollup merge of #141769 - bjorn3:codegen_metadata_module_rework, r=workingjubilee,saethlin 2025-06-15 23:51:54 +02:00
llvm_util.rs Disable f16 on Aarch64 without neon for llvm < 20.1.1 2025-06-30 09:46:56 -05:00
mono_item.rs Make predefine methods take &mut self 2025-05-28 20:55:00 +00:00
type_.rs Use LLVMIntrinsicGetDeclaration to completely remove the hardcoded intrinsics list 2025-06-15 22:15:16 +05:30
type_of.rs rename BackendRepr::Vector → SimdVector 2025-02-28 17:17:45 +01:00
va_arg.rs implement va_arg for powerpc 2025-06-01 00:51:01 +02:00
value.rs Add warn(unreachable_pub) to rustc_codegen_llvm. 2024-08-16 08:46:57 +10:00