rust/tests/mir-opt/casts.redundant.PreCodegen.after.mir

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

15 lines
264 B
Rust
Raw Normal View History

2023-02-19 14:50:00 -06:00
// MIR for `redundant` after PreCodegen
fn redundant(_1: *const &u8) -> *const &u8 {
2023-06-06 08:47:00 -05:00
debug x => _1;
let mut _0: *const &u8;
scope 1 (inlined generic_cast::<&u8, &u8>) {
debug x => _1;
2023-02-19 14:50:00 -06:00
}
bb0: {
2023-06-06 08:47:00 -05:00
_0 = _1;
return;
2023-02-19 14:50:00 -06:00
}
}