cranelift: Remove copy instruction (#5125)

This commit is contained in:
Afonso Bordado
2022-10-26 01:27:33 +01:00
committed by GitHub
parent b3333bf9ea
commit 4867813f77
12 changed files with 0 additions and 227 deletions

View File

@@ -1467,10 +1467,5 @@ mod tests {
assert_eq!(pos.func.dfg.resolve_aliases(c2), c2);
assert_eq!(pos.func.dfg.resolve_aliases(c), c2);
// Make a copy of the alias.
let c3 = pos.ins().copy(c);
// This does not see through copies.
assert_eq!(pos.func.dfg.resolve_aliases(c3), c3);
}
}