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

@@ -16,10 +16,9 @@ use smallvec::SmallVec;
// "formal parameters" to mean the `Value`s listed in the block head, and
// "actual parameters" to mean the `Value`s passed in a branch or a jump:
//
// block4(v16: i32, v18: i32): <-- formal parameters
// block4(v16: i32, v18: i32): <-- formal parameters
// ...
// brnz v27, block7(v22, v24) <-- actual parameters
// jump block6
// brif v27, block7(v22, v24), block6 <-- actual parameters
// This transformation pass (conceptually) partitions all values in the
// function into two groups: