forked from AbleOS/holey-bytes
removing redundant loop phys
This commit is contained in:
parent
7cac9382ad
commit
f079daa42d
|
@ -1043,6 +1043,10 @@ impl Nodes {
|
|||
K::Phi => {
|
||||
let &[ctrl, lhs, rhs] = self[target].inputs.as_slice() else { unreachable!() };
|
||||
|
||||
if rhs == target {
|
||||
return Some(lhs);
|
||||
}
|
||||
|
||||
if lhs == rhs {
|
||||
return Some(lhs);
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue