summaryrefslogtreecommitdiff
path: root/test/passes/post-emscripten.txt
diff options
context:
space:
mode:
Diffstat (limited to 'test/passes/post-emscripten.txt')
-rw-r--r--test/passes/post-emscripten.txt29
1 files changed, 29 insertions, 0 deletions
diff --git a/test/passes/post-emscripten.txt b/test/passes/post-emscripten.txt
new file mode 100644
index 000000000..567a8b849
--- /dev/null
+++ b/test/passes/post-emscripten.txt
@@ -0,0 +1,29 @@
+(module
+ (memory 16777216 16777216)
+ (func $b0 (param $x i32)
+ (i32.load offset=1
+ (get_local $x)
+ )
+ (i32.load offset=8
+ (get_local $x)
+ )
+ (i32.load offset=1023
+ (get_local $x)
+ )
+ (i32.load
+ (i32.add
+ (get_local $x)
+ (i32.const 1024)
+ )
+ )
+ (i32.load
+ (i32.add
+ (get_local $x)
+ (i32.const 2048)
+ )
+ )
+ (i32.load offset=4
+ (get_local $x)
+ )
+ )
+)