diff options
Diffstat (limited to 'test/llvm_autogenerated/userstack.wast')
-rw-r--r-- | test/llvm_autogenerated/userstack.wast | 362 |
1 files changed, 150 insertions, 212 deletions
diff --git a/test/llvm_autogenerated/userstack.wast b/test/llvm_autogenerated/userstack.wast index d9b226378..8883eb112 100644 --- a/test/llvm_autogenerated/userstack.wast +++ b/test/llvm_autogenerated/userstack.wast @@ -20,227 +20,183 @@ (export "inline_asm" (func $inline_asm)) (func $alloca32 (local $0 i32) - (drop - (i32.store offset=4 - (i32.const 0) - (tee_local $0 - (i32.sub - (i32.load offset=4 - (i32.const 0) - ) - (i32.const 16) + (i32.store offset=4 + (i32.const 0) + (tee_local $0 + (i32.sub + (i32.load offset=4 + (i32.const 0) ) + (i32.const 16) ) ) ) - (drop - (i32.store offset=12 - (get_local $0) - (i32.const 0) - ) + (i32.store offset=12 + (get_local $0) + (i32.const 0) ) - (drop - (i32.store offset=4 - (i32.const 0) - (i32.add - (get_local $0) - (i32.const 16) - ) + (i32.store offset=4 + (i32.const 0) + (i32.add + (get_local $0) + (i32.const 16) ) ) (return) ) (func $alloca3264 (local $0 i32) - (drop - (i32.store offset=12 - (tee_local $0 - (i32.sub - (i32.load offset=4 - (i32.const 0) - ) - (i32.const 16) + (i32.store offset=12 + (tee_local $0 + (i32.sub + (i32.load offset=4 + (i32.const 0) ) + (i32.const 16) ) - (i32.const 0) ) + (i32.const 0) ) - (drop - (i64.store - (get_local $0) - (i64.const 0) - ) + (i64.store + (get_local $0) + (i64.const 0) ) (return) ) (func $allocarray (local $0 i32) - (drop - (i32.store offset=4 - (i32.const 0) - (tee_local $0 - (i32.sub - (i32.load offset=4 - (i32.const 0) - ) - (i32.const 144) + (i32.store offset=4 + (i32.const 0) + (tee_local $0 + (i32.sub + (i32.load offset=4 + (i32.const 0) ) + (i32.const 144) ) ) ) - (drop - (i32.store - (i32.add - (get_local $0) - (i32.const 24) - ) - (i32.const 1) - ) - ) - (drop - (i32.store offset=12 + (i32.store + (i32.add (get_local $0) - (i32.const 1) + (i32.const 24) ) + (i32.const 1) ) - (drop - (i32.store offset=4 - (i32.const 0) - (i32.add - (get_local $0) - (i32.const 144) - ) + (i32.store offset=12 + (get_local $0) + (i32.const 1) + ) + (i32.store offset=4 + (i32.const 0) + (i32.add + (get_local $0) + (i32.const 144) ) ) (return) ) (func $non_mem_use (param $0 i32) (local $1 i32) - (drop - (i32.store offset=4 - (i32.const 0) - (tee_local $1 - (i32.sub - (i32.load offset=4 - (i32.const 0) - ) - (i32.const 48) + (i32.store offset=4 + (i32.const 0) + (tee_local $1 + (i32.sub + (i32.load offset=4 + (i32.const 0) ) + (i32.const 48) ) ) ) - (drop - (call $ext_func - (i32.add - (get_local $1) - (i32.const 8) - ) - ) - ) - (drop - (call $ext_func + (call $ext_func + (i32.add (get_local $1) + (i32.const 8) ) ) - (drop - (i32.store - (get_local $0) - (i32.add - (get_local $1) - (i32.const 16) - ) + (call $ext_func + (get_local $1) + ) + (i32.store + (get_local $0) + (i32.add + (get_local $1) + (i32.const 16) ) ) - (drop - (i32.store offset=4 - (i32.const 0) - (i32.add - (get_local $1) - (i32.const 48) - ) + (i32.store offset=4 + (i32.const 0) + (i32.add + (get_local $1) + (i32.const 48) ) ) (return) ) (func $allocarray_inbounds (local $0 i32) - (drop - (i32.store offset=4 - (i32.const 0) - (tee_local $0 - (i32.sub - (i32.load offset=4 - (i32.const 0) - ) - (i32.const 32) + (i32.store offset=4 + (i32.const 0) + (tee_local $0 + (i32.sub + (i32.load offset=4 + (i32.const 0) ) + (i32.const 32) ) ) ) - (drop - (i32.store offset=24 - (get_local $0) - (i32.const 1) - ) + (i32.store offset=24 + (get_local $0) + (i32.const 1) ) - (drop - (i32.store offset=12 - (get_local $0) - (i32.const 1) - ) + (i32.store offset=12 + (get_local $0) + (i32.const 1) ) - (drop - (call $ext_func - (i32.const 0) - ) + (call $ext_func + (i32.const 0) ) - (drop - (i32.store offset=4 - (i32.const 0) - (i32.add - (get_local $0) - (i32.const 32) - ) + (i32.store offset=4 + (i32.const 0) + (i32.add + (get_local $0) + (i32.const 32) ) ) (return) ) (func $dynamic_alloca (param $0 i32) (local $1 i32) - (drop - (i32.store offset=4 - (i32.const 0) - (tee_local $0 - (i32.sub - (tee_local $1 - (i32.load offset=4 - (i32.const 0) - ) + (i32.store offset=4 + (i32.const 0) + (tee_local $0 + (i32.sub + (tee_local $1 + (i32.load offset=4 + (i32.const 0) ) - (i32.and - (i32.add - (i32.shl - (get_local $0) - (i32.const 2) - ) - (i32.const 15) + ) + (i32.and + (i32.add + (i32.shl + (get_local $0) + (i32.const 2) ) - (i32.const -16) + (i32.const 15) ) + (i32.const -16) ) ) ) ) - (drop - (call $ext_func_i32 - (get_local $0) - ) + (call $ext_func_i32 + (get_local $0) ) - (drop - (i32.store offset=4 - (i32.const 0) - (get_local $1) - ) + (i32.store offset=4 + (i32.const 0) + (get_local $1) ) (return) ) @@ -270,62 +226,52 @@ ) ) ) - (drop - (i32.store - (get_local $0) - (i32.const 0) - ) + (i32.store + (get_local $0) + (i32.const 0) ) (return) ) (func $dynamic_static_alloca (param $0 i32) (local $1 i32) - (drop - (i32.store offset=4 - (i32.const 0) - (tee_local $1 - (i32.sub - (i32.load offset=4 - (i32.const 0) - ) - (i32.const 16) + (i32.store offset=4 + (i32.const 0) + (tee_local $1 + (i32.sub + (i32.load offset=4 + (i32.const 0) ) + (i32.const 16) ) ) ) - (drop - (i32.store offset=4 - (i32.const 0) - (tee_local $0 - (i32.sub - (get_local $1) - (i32.and - (i32.add - (i32.shl - (get_local $0) - (i32.const 2) - ) - (i32.const 15) + (i32.store offset=4 + (i32.const 0) + (tee_local $0 + (i32.sub + (get_local $1) + (i32.and + (i32.add + (i32.shl + (get_local $0) + (i32.const 2) ) - (i32.const -16) + (i32.const 15) ) + (i32.const -16) ) ) ) ) - (drop - (i32.store - (get_local $0) - (i32.const 0) - ) + (i32.store + (get_local $0) + (i32.const 0) ) - (drop - (i32.store offset=4 - (i32.const 0) - (i32.add - (get_local $1) - (i32.const 16) - ) + (i32.store offset=4 + (i32.const 0) + (i32.add + (get_local $1) + (i32.const 16) ) ) (return) @@ -351,11 +297,9 @@ ) (block $label$1 (loop $label$0 - (drop - (i32.store - (get_local $2) - (i32.const 1) - ) + (i32.store + (get_local $2) + (i32.const 1) ) (set_local $2 (get_local $1) @@ -369,28 +313,22 @@ ) (func $frameaddress_0 (local $0 i32) - (drop - (call $use_i8_star - (tee_local $0 - (i32.load offset=4 - (i32.const 0) - ) + (call $use_i8_star + (tee_local $0 + (i32.load offset=4 + (i32.const 0) ) ) ) - (drop - (i32.store offset=4 - (i32.const 0) - (get_local $0) - ) + (i32.store offset=4 + (i32.const 0) + (get_local $0) ) (return) ) (func $frameaddress_1 - (drop - (call $use_i8_star - (i32.const 0) - ) + (call $use_i8_star + (i32.const 0) ) (return) ) |