rust/compiler/rustc_codegen_ssa/src/traits
bors 1df5affaca Auto merge of #133984 - DaniPopes:scmp-ucmp, r=scottmcm
Lower BinOp::Cmp to llvm.{s,u}cmp.* intrinsics

Lowers `mir::BinOp::Cmp` (`three_way_compare` intrinsic) to the corresponding LLVM `llvm.{s,u}cmp.i8.*` intrinsics.

These are the intrinsics mentioned in https://github.com/rust-lang/rust/pull/118310, which are now available in LLVM 19.

I couldn't find any follow-up PRs/discussions about this, please let me know if I missed something.

r? `@scottmcm`
2025-03-24 22:53:12 +00:00
..
abi.rs Remove an unused lifetime param 2025-02-24 15:11:29 +00:00
asm.rs codegen #[naked] functions using global_asm! 2024-12-10 21:41:03 +01:00
backend.rs Change signature of target_features_cfg. 2025-03-05 09:49:17 +11:00
builder.rs Auto merge of #133984 - DaniPopes:scmp-ucmp, r=scottmcm 2025-03-24 22:53:12 +00:00
consts.rs Rollup merge of #137549 - oli-obk:llvm-ffi, r=davidtwco 2025-03-07 19:15:34 +01: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 Remove an unnecessary lifetime 2025-02-24 15:05:56 +00:00
statics.rs compiler: Directly use rustc_abi in codegen 2024-11-03 12:30:32 -08:00
type_.rs Rollup merge of #137549 - oli-obk:llvm-ffi, r=davidtwco 2025-03-07 19:15:34 +01:00
write.rs Save pre-link bitcode to ModuleCodegen 2025-02-23 21:23:38 +08:00