rust/tests/mir-opt/pre-codegen/matchbr.match1.PreCodegen.after.mir
dianqk 5881b7c68b
mir-opt: execute MatchBranchSimplification after GVN
This can provide more opportunities for MatchBranchSimplification.
2025-04-21 21:46:44 +08:00

13 lines
237 B
Rust

// MIR for `match1` after PreCodegen
fn match1(_1: bool, _2: i32, _3: i32) -> i32 {
debug c => _1;
debug v1 => _2;
debug v2 => _3;
let mut _0: i32;
bb0: {
_0 = Sub(copy _2, copy _3);
return;
}
}