rust/compiler/rustc_codegen_llvm/src
bors 1eb0657f78 Auto merge of #147404 - JamieCunliffe:inline-always, r=jackh726
Fix issue with callsite inline attribute not being applied sometimes.

If the calling function had more target features enabled than the callee than the attribute wasn't being applied as the arguments for the check had been swapped round. Also includes target features that are part of the global set as the warning was checking those but when adding the attribute they were not checked.

Add a codegen-llvm test to check that the attribute is actually applied as previously only the warning was being checked.

Tracking issue: rust-lang/rust#145574
2025-11-28 22:58:22 +00:00
..
back Rollup merge of #147936 - Sa4dUs:offload-intrinsic, r=ZuseZ4 2025-11-26 23:32:03 +11:00
builder Implement offload intrinsic 2025-11-25 20:04:27 +01:00
coverageinfo Add coverage scope for controlling paths in code coverage 2025-10-27 12:54:24 +01:00
debuginfo Add -Zannotate-moves for profiler visibility of move/copy operations 2025-11-06 15:39:45 -08:00
llvm Rollup merge of #147936 - Sa4dUs:offload-intrinsic, r=ZuseZ4 2025-11-26 23:32:03 +11:00
abi.rs Add -Zannotate-moves for profiler visibility of move/copy operations 2025-11-06 15:39:45 -08:00
allocator.rs miri: use allocator_shim_contents codegen helper 2025-10-15 21:23:14 +02:00
asm.rs Allow vector-scalar (vs) registers in ppc inline assembly 2025-10-14 09:52:56 -05:00
attributes.rs Implement offload intrinsic 2025-11-25 20:04:27 +01:00
base.rs replace SanitizerSet in CodegenFnAttrs by new type 2025-11-06 13:19:08 +01:00
builder.rs Fix issue with callsite inline attribute not being applied sometimes. 2025-11-26 13:31:26 +00:00
callee.rs rustc_target: introduce Env 2025-11-11 18:34:47 -05:00
common.rs Fix ICE on offsetted ZST pointer 2025-10-15 20:06:46 -04:00
consts.rs rustc_target: introduce Arch 2025-11-04 21:27:22 -05:00
context.rs Implement offload intrinsic 2025-11-25 20:04:27 +01:00
declare.rs refactor: Remove LLVMRustInsertPrivateGlobal and define_private_global 2025-10-08 21:59:48 +02:00
errors.rs Implement offload intrinsic 2025-11-25 20:04:27 +01:00
intrinsic.rs Implement offload intrinsic 2025-11-25 20:04:27 +01:00
lib.rs Stabilise 'as_array' in '[_]' and '*const [_]'; Stabilise 'as_mut_array' in '[_]' and '*mut [_]'; Update feature gate and tracking issue for 'alloc_slice_into_array' items; 2025-11-07 15:14:41 +01:00
llvm_util.rs Rollup merge of #149173 - bjorn3:target_spec_rust_features, r=RalfJung 2025-11-26 23:32:08 +11:00
macros.rs use declarative macro for #[derive(TryFromU32)] 2025-10-06 14:54:38 +00:00
mono_item.rs rustc_target: introduce Arch 2025-11-04 21:27:22 -05:00
type_.rs Fix device code generation, to account for an implicit dyn_ptr argument. 2025-11-06 03:34:38 -05:00
type_of.rs Consistently import llvm::Type and llvm::Value 2025-10-06 13:09:16 +11:00
typetree.rs autodiff: typetree recursive depth query from enzyme with fallback 2025-09-19 05:42:27 +00:00
va_arg.rs rustc_target: introduce Abi 2025-11-11 18:22:38 -05:00
value.rs Consistently import llvm::Type and llvm::Value 2025-10-06 13:09:16 +11:00