1
Fork 0
rust/compiler/rustc_hir_analysis/src
Trevor Gross a2bb4d748d
Rollup merge of #136543 - RalfJung:round-ties-even, r=tgross35
intrinsics: unify rint, roundeven, nearbyint in a single round_ties_even intrinsic

LLVM has three intrinsics here that all do the same thing (when used in the default FP environment). There's no reason Rust needs to copy that historically-grown mess -- let's just have one intrinsic and leave it up to the LLVM backend to decide how to lower that.

Suggested by `@hanna-kruppe` in https://github.com/rust-lang/rust/issues/136459; Cc `@tgross35`

try-job: test-various
2025-02-23 14:30:25 -05:00
..
check Rollup merge of #136543 - RalfJung:round-ties-even, r=tgross35 2025-02-23 14:30:25 -05:00
coherence Move methods from Map to TyCtxt, part 2. 2025-02-18 10:17:44 +11:00
collect Rollup merge of #137334 - compiler-errors:edition-2024-fresh-2, r=saethlin,traviscross 2025-02-23 02:44:18 -05:00
errors Move methods from Map to TyCtxt, part 3. 2025-02-21 14:31:09 +11:00
hir_ty_lowering Rollup merge of #137333 - compiler-errors:edition-2024-fresh, r=Nadrieril 2025-02-22 11:36:43 +01:00
impl_wf_check Fix a comment typo. 2025-01-31 08:28:14 +11:00
outlives Move methods from Map to TyCtxt, part 3. 2025-02-21 14:31:09 +11:00
variance Remove xform submodule. 2025-01-31 08:28:28 +11:00
autoderef.rs Rename structurally_normalize to structurally_normalize_ty 2025-01-22 07:04:53 +00:00
check_unused.rs Move methods from Map to TyCtxt, part 2. 2025-02-18 10:17:44 +11:00
collect.rs Rollup merge of #137334 - compiler-errors:edition-2024-fresh-2, r=saethlin,traviscross 2025-02-23 02:44:18 -05:00
constrained_generic_params.rs Remove #[macro_use] extern crate tracing from rustc_hir_analysis. 2024-08-30 17:14:59 +10:00
delegation.rs Rustfmt 2025-02-08 22:12:13 +00:00
errors.rs Make E0599 a structured error 2025-02-18 04:50:33 +00:00
hir_wf_check.rs Move methods from Map to TyCtxt, part 2. 2025-02-18 10:17:44 +11:00
impl_wf_check.rs Rename tcx.ensure() to tcx.ensure_ok() 2025-02-01 12:38:54 +11:00
lib.rs Move methods from Map to TyCtxt, part 3. 2025-02-21 14:31:09 +11:00