Skip to content

Commit 93b7761

Browse files
committed
PERF EXPERIMENT
1 parent f452f6d commit 93b7761

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

compiler/rustc_codegen_ssa/src/mir/rvalue.rs

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1086,7 +1086,9 @@ pub(super) fn transmute_scalar<'a, 'tcx, Bx: BuilderMethods<'a, 'tcx>>(
10861086
// That said, last time we tried removing this, it didn't actually help
10871087
// the rustc-perf results, so might as well keep doing it
10881088
// <https://github.com/rust-lang/rust/pull/135610#issuecomment-2599275182>
1089-
assume_scalar_range(bx, imm, from_scalar, from_backend_ty);
1089+
//
1090+
// EXPERIMENT: What if we skip it for perf?
1091+
// assume_scalar_range(bx, imm, from_scalar, from_backend_ty);
10901092

10911093
imm = match (from_scalar.primitive(), to_scalar.primitive()) {
10921094
(Int(..) | Float(_), Int(..) | Float(_)) => bx.bitcast(imm, to_backend_ty),

0 commit comments

Comments
 (0)