diff options
Diffstat (limited to 'test/passes/optimize-instructions.wast')
-rw-r--r-- | test/passes/optimize-instructions.wast | 22 |
1 files changed, 22 insertions, 0 deletions
diff --git a/test/passes/optimize-instructions.wast b/test/passes/optimize-instructions.wast index 8265a4f70..08868e23a 100644 --- a/test/passes/optimize-instructions.wast +++ b/test/passes/optimize-instructions.wast @@ -218,5 +218,27 @@ ) (nop) ) + (drop + (select + (i32.const 101) + (i32.const 102) + (i32.eqz + (get_local $i1) + ) + ) + ) + (drop + (select + (tee_local $i1 + (i32.const 103) + ) ;; these conflict + (tee_local $i1 + (i32.const 104) + ) + (i32.eqz + (get_local $i1) + ) + ) + ) ) ) |