rust/compiler/rustc_codegen_ssa/src/traits
bors bdc97d1046 Auto merge of #136575 - scottmcm:nsuw-math, r=nikic
Set both `nuw` and `nsw` in slice size calculation

There's an old note in the code to do this, and now that [LLVM-C has an API for it](f0b8ff1251/llvm/include/llvm-c/Core.h (L4403-L4408)), we might as well.  And it's been there since what looks like LLVM 17 de9b6aa341 so doesn't even need to be conditional.

(There's other places, like `RawVecInner` or `Layout`, that might want to do things like this too, but I'll leave those for a future PR.)
2025-02-14 14:21:29 +00:00
..
abi.rs Merge apply_attrs_callsite into call and invoke 2022-10-01 17:01:31 +00:00
asm.rs codegen #[naked] functions using global_asm! 2024-12-10 21:41:03 +01:00
backend.rs Re-export more rustc_span::symbol things from rustc_span. 2024-12-18 13:38:53 +11:00
builder.rs Auto merge of #136575 - scottmcm:nsuw-math, r=nikic 2025-02-14 14:21:29 +00:00
consts.rs compiler: remove rustc_target::abi entirely 2025-02-07 11:23:12 -08:00
coverageinfo.rs Remove BackendTypes constraint from traits that don't need it. 2024-09-17 10:24:43 +10:00
debuginfo.rs Use ExistentialTraitRef throughout codegen 2025-01-30 15:34:00 +00:00
declare.rs Rename supertraits of CodegenMethods. 2024-09-17 10:24:43 +10:00
intrinsic.rs compiler: Directly use rustc_abi in codegen 2024-11-03 12:30:32 -08:00
misc.rs Use ExistentialTraitRef throughout codegen 2025-01-30 15:34:00 +00:00
mod.rs compiler: Directly use rustc_abi in codegen 2024-11-03 12:30:32 -08:00
statics.rs compiler: Directly use rustc_abi in codegen 2024-11-03 12:30:32 -08:00
type_.rs compiler: remove reexports from rustc_target::callconv 2025-02-07 11:25:18 -08:00
write.rs Make CodegenCx and Builder generic 2025-01-24 16:05:26 -05:00