mirror of
https://github.com/rust-lang/rust.git
synced 2025-10-02 18:27:37 +00:00
14 lines
318 B
Diff
14 lines
318 B
Diff
- // MIR for `optimize_false` before GVN
|
|
+ // MIR for `optimize_false` after GVN
|
|
|
|
fn optimize_false() -> bool {
|
|
let mut _0: bool;
|
|
|
|
bb0: {
|
|
- _0 = Eq(const optimize_false::<T>::{constant#0}, const optimize_false::<T>::{constant#1});
|
|
+ _0 = const false;
|
|
return;
|
|
}
|
|
}
|
|
|