From cdf9ee0fdff72384d2192fb32c20bf05287dba97 Mon Sep 17 00:00:00 2001 From: Thomas Lively <7121787+tlively@users.noreply.github.com> Date: Sat, 3 Jul 2021 00:28:22 +0000 Subject: Add a script for porting passes tests to lit (#3963) And use it to port the very simple untee test. --- test/passes/untee.txt | 47 ----------------------------------------------- test/passes/untee.wast | 12 ------------ 2 files changed, 59 deletions(-) delete mode 100644 test/passes/untee.txt delete mode 100644 test/passes/untee.wast (limited to 'test/passes') diff --git a/test/passes/untee.txt b/test/passes/untee.txt deleted file mode 100644 index f4b4b3fe8..000000000 --- a/test/passes/untee.txt +++ /dev/null @@ -1,47 +0,0 @@ -(module - (type $none_=>_none (func)) - (func $tee - (local $x i32) - (local $y f64) - (drop - (block (result i32) - (local.set $x - (i32.const 1) - ) - (local.get $x) - ) - ) - (drop - (block (result f64) - (local.set $y - (f64.const 2) - ) - (local.get $y) - ) - ) - (local.set $x - (block (result i32) - (local.set $x - (i32.const 3) - ) - (local.get $x) - ) - ) - (local.set $x - (block (result i32) - (local.set $x - (block (result i32) - (local.set $x - (i32.const 3) - ) - (local.get $x) - ) - ) - (local.get $x) - ) - ) - (drop - (unreachable) - ) - ) -) diff --git a/test/passes/untee.wast b/test/passes/untee.wast deleted file mode 100644 index 6b66ccf84..000000000 --- a/test/passes/untee.wast +++ /dev/null @@ -1,12 +0,0 @@ -(module - (func $tee - (local $x i32) - (local $y f64) - (drop (local.tee $x (i32.const 1))) - (drop (local.tee $y (f64.const 2))) - (local.set $x (local.tee $x (i32.const 3))) - (local.set $x (local.tee $x (local.tee $x (i32.const 3)))) - (drop (local.tee $x (unreachable))) - ) -) - -- cgit v1.2.3