rust/tests/mir-opt/gvn_const_eval_polymorphic.optimize_true.GVN.diff
2025-07-04 19:14:26 +02:00

14 lines
312 B
Diff

- // MIR for `optimize_true` before GVN
+ // MIR for `optimize_true` after GVN
fn optimize_true() -> bool {
let mut _0: bool;
bb0: {
- _0 = Eq(const optimize_true::<T>::{constant#0}, const optimize_true::<T>::{constant#1});
+ _0 = const true;
return;
}
}