summaryrefslogtreecommitdiff
path: root/test/passes/post-emscripten.wast
diff options
context:
space:
mode:
Diffstat (limited to 'test/passes/post-emscripten.wast')
-rw-r--r--test/passes/post-emscripten.wast151
1 files changed, 0 insertions, 151 deletions
diff --git a/test/passes/post-emscripten.wast b/test/passes/post-emscripten.wast
index b06d07e7a..f3656eebd 100644
--- a/test/passes/post-emscripten.wast
+++ b/test/passes/post-emscripten.wast
@@ -2,157 +2,6 @@
(memory 256 256)
(type $0 (func (param i32)))
(import "global.Math" "pow" (func $Math_pow (param f64 f64) (result f64)))
- (func $b0 (type $0) (param $x i32)
- (drop
- (i32.load
- (i32.add
- (local.get $x)
- (i32.const 1)
- )
- )
- )
- (drop
- (i32.load
- (i32.add
- (local.get $x)
- (i32.const 8)
- )
- )
- )
- (drop
- (i32.load
- (i32.add
- (local.get $x)
- (i32.const 1023)
- )
- )
- )
- (drop
- (i32.load
- (i32.add
- (local.get $x)
- (i32.const 1024)
- )
- )
- )
- (drop
- (i32.load
- (i32.add
- (local.get $x)
- (i32.const 2048)
- )
- )
- )
- (drop
- (i32.load
- (i32.add
- (i32.const 4)
- (local.get $x)
- )
- )
- )
- )
- (func $load-off-2 "load-off-2" (param $0 i32) (result i32)
- (i32.store offset=2
- (i32.add
- (i32.const 1)
- (i32.const 3)
- )
- (local.get $0)
- )
- (i32.store offset=2
- (i32.add
- (i32.const 3)
- (i32.const 1)
- )
- (local.get $0)
- )
- (i32.store offset=2
- (i32.add
- (local.get $0)
- (i32.const 5)
- )
- (local.get $0)
- )
- (i32.store offset=2
- (i32.add
- (i32.const 7)
- (local.get $0)
- )
- (local.get $0)
- )
- (i32.store offset=2
- (i32.add
- (i32.const -11) ;; do not fold this!
- (local.get $0)
- )
- (local.get $0)
- )
- (i32.store offset=2
- (i32.add
- (local.get $0)
- (i32.const -13) ;; do not fold this!
- )
- (local.get $0)
- )
- (i32.store offset=2
- (i32.add
- (i32.const -15)
- (i32.const 17)
- )
- (local.get $0)
- )
- (i32.store offset=2
- (i32.add
- (i32.const -21)
- (i32.const 19)
- )
- (local.get $0)
- )
- (i32.store offset=2
- (i32.const 23)
- (local.get $0)
- )
- (i32.store offset=2
- (i32.const -25)
- (local.get $0)
- )
- (drop
- (i32.load offset=2
- (i32.add
- (i32.const 2)
- (i32.const 4)
- )
- )
- )
- (drop
- (i32.load offset=2
- (i32.add
- (i32.const 4)
- (i32.const 2)
- )
- )
- )
- (drop
- (i32.load offset=2
- (i32.add
- (local.get $0)
- (i32.const 6)
- )
- )
- )
- (drop
- (i32.load offset=2
- (i32.const 8)
- )
- )
- (i32.load offset=2
- (i32.add
- (i32.const 10)
- (local.get $0)
- )
- )
- )
(func $pow2
(local $x f64)
(local $y f64)