mirror of
https://github.com/rust-lang/rust.git
synced 2026-06-01 14:10:03 +03:00
58f8739d55
MIR dumped before/after the dummy `PreCodegen` pass should be identical to MIR dumped after the phase transition to `runtime-optimized`.
23 lines
634 B
Rust
23 lines
634 B
Rust
// MIR for `eq_ipv6` after runtime-optimized
|
|
|
|
fn eq_ipv6(_1: &[u16; 8], _2: &[u16; 8]) -> bool {
|
|
debug a => _1;
|
|
debug b => _2;
|
|
let mut _0: bool;
|
|
let mut _3: u128;
|
|
let mut _4: u128;
|
|
scope 1 (inlined std::cmp::impls::<impl PartialEq for &[u16; 8]>::eq) {
|
|
scope 2 (inlined array::equality::<impl PartialEq for [u16; 8]>::eq) {
|
|
scope 3 (inlined <u16 as array::equality::SpecArrayEq<u16, 8>>::spec_eq) {
|
|
}
|
|
}
|
|
}
|
|
|
|
bb0: {
|
|
_3 = copy (*_1) as u128 (Transmute);
|
|
_4 = copy (*_2) as u128 (Transmute);
|
|
_0 = Eq(move _3, move _4);
|
|
return;
|
|
}
|
|
}
|