Files
rust/tests/mir-opt/gvn_const_eval_polymorphic.optimize_true.GVN.diff

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

14 lines
312 B
Diff
Raw Permalink Normal View History

2025-07-04 19:14:26 +02:00
- // 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;
}
}