cranelift: Remove brz and brnz (#5630)

Remove the brz and brnz instructions, as their behavior is now redundant with brif.
This commit is contained in:
Trevor Elliott
2023-01-30 12:34:56 -08:00
committed by GitHub
parent 77cf547f41
commit a5698cedf8
247 changed files with 2947 additions and 3754 deletions

View File

@@ -428,12 +428,6 @@ pub fn write_operands(w: &mut dyn Write, dfg: &DataFlowGraph, inst: Inst) -> fmt
write!(w, ", {}", block_else.block(pool))?;
write_block_args(w, block_else.args_slice(pool))
}
Branch {
arg, destination, ..
} => {
write!(w, " {}, {}", arg, destination.block(pool))?;
write_block_args(w, destination.args_slice(pool))
}
BranchTable {
arg,
destination,