summaryrefslogtreecommitdiff
path: root/test/llvm_autogenerated/i32-load-store-alignment.wast
diff options
context:
space:
mode:
Diffstat (limited to 'test/llvm_autogenerated/i32-load-store-alignment.wast')
-rw-r--r--test/llvm_autogenerated/i32-load-store-alignment.wast19
1 files changed, 9 insertions, 10 deletions
diff --git a/test/llvm_autogenerated/i32-load-store-alignment.wast b/test/llvm_autogenerated/i32-load-store-alignment.wast
index a48617132..800e42993 100644
--- a/test/llvm_autogenerated/i32-load-store-alignment.wast
+++ b/test/llvm_autogenerated/i32-load-store-alignment.wast
@@ -172,19 +172,18 @@
)
(func $stackAlloc (; 21 ;) (param $0 i32) (result i32)
(local $1 i32)
- (set_local $1
- (i32.load offset=4
- (i32.const 0)
- )
- )
(i32.store offset=4
(i32.const 0)
- (i32.and
- (i32.sub
- (get_local $1)
- (get_local $0)
+ (tee_local $1
+ (i32.and
+ (i32.sub
+ (i32.load offset=4
+ (i32.const 0)
+ )
+ (get_local $0)
+ )
+ (i32.const -16)
)
- (i32.const -16)
)
)
(get_local $1)