rust/compiler/rustc_codegen_llvm/src
bors e0be1a0262 Auto merge of #137271 - nikic:gep-nuw-2, r=scottmcm
Emit getelementptr inbounds nuw for pointer::add()

Lower pointer::add (via intrinsic::offset with unsigned offset) to getelementptr inbounds nuw on LLVM versions that support it. This lets LLVM make use of the pre-condition that the offset addition does not wrap in an unsigned sense. Together with inbounds, this also implies that the offset is non-negative.

Fixes https://github.com/rust-lang/rust/issues/137217.
2025-02-24 03:06:16 +00:00
..
back update autodiff flags 2025-02-21 21:51:20 -05:00
builder update autodiff flags 2025-02-21 21:51:20 -05:00
coverageinfo coverage: Remove the old code for simplifying counters after MIR opts 2025-02-06 21:44:31 +11:00
debuginfo Rollup merge of #137210 - workingjubilee:fixup-passmode-import, r=RalfJung 2025-02-19 01:30:12 +01:00
llvm Auto merge of #137271 - nikic:gep-nuw-2, r=scottmcm 2025-02-24 03:06:16 +00:00
abi.rs compiler: Stop reexporting stuff in cg_llvm::abi 2025-02-18 00:31:29 -08:00
allocator.rs Document some safety constraints and use more safe wrappers 2025-02-11 09:47:13 +00:00
asm.rs Mark condition/carry bit as clobbered in C-SKY inline assembly 2025-01-29 06:46:05 +09:00
attributes.rs Rename OptimizeAttr::None to Default 2025-01-24 19:34:01 +00:00
base.rs Remove Linkage::Appending 2025-02-07 16:02:19 +00:00
builder.rs Auto merge of #137271 - nikic:gep-nuw-2, r=scottmcm 2025-02-24 03:06:16 +00:00
callee.rs Merge two operations that were always performed together 2025-02-20 11:24:00 +00:00
common.rs Move hashes from rustc_data_structure to rustc_hashes so they can be shared with rust-analyzer 2025-02-16 16:18:30 -05:00
consts.rs Merge two operations that were always performed together 2025-02-20 11:24:00 +00:00
context.rs Rollup merge of #136545 - durin42:nvptx64-align, r=nikic 2025-02-16 00:51:24 -05:00
declare.rs compiler: Stop reexporting stuff in cg_llvm::abi 2025-02-18 00:31:29 -08:00
errors.rs update autodiff flags 2025-02-21 21:51:20 -05:00
intrinsic.rs Rollup merge of #136543 - RalfJung:round-ties-even, r=tgross35 2025-02-23 14:30:25 -05:00
lib.rs Rollup merge of #136858 - safinaskar:parallel-cleanup-2025-02-11-07-54, r=SparrowLii 2025-02-13 03:53:31 -05:00
llvm_util.rs Rollup merge of #136813 - mrkajetanp:aarch32-fp16-target-feature, r=davidtwco 2025-02-11 01:02:41 -05:00
mono_item.rs Merge two operations that were always performed together 2025-02-20 11:24:00 +00:00
type_.rs Rollup merge of #136721 - dpaoliello:cleanllvm2, r=Zalathar 2025-02-11 01:02:40 -05:00
type_of.rs Remove BackendRepr::Uninhabited, replaced with an uninhabited: bool field in LayoutData. 2025-02-20 13:27:32 -06:00
va_arg.rs Teach rust core about Xtensa VaListImpl and add a custom lowering of vaarg for xtensa. 2024-12-03 10:54:08 +00:00
value.rs Add warn(unreachable_pub) to rustc_codegen_llvm. 2024-08-16 08:46:57 +10:00