summaryrefslogtreecommitdiff
path: root/test/passes/optimize-instructions_all-features.txt
diff options
context:
space:
mode:
Diffstat (limited to 'test/passes/optimize-instructions_all-features.txt')
-rw-r--r--test/passes/optimize-instructions_all-features.txt28
1 files changed, 20 insertions, 8 deletions
diff --git a/test/passes/optimize-instructions_all-features.txt b/test/passes/optimize-instructions_all-features.txt
index 88b053835..7d223020f 100644
--- a/test/passes/optimize-instructions_all-features.txt
+++ b/test/passes/optimize-instructions_all-features.txt
@@ -4784,14 +4784,20 @@
)
(drop
(i32.gt_s
- (local.get $x)
- (local.get $y)
+ (i32.sub
+ (local.get $x)
+ (local.get $y)
+ )
+ (i32.const 0)
)
)
(drop
(i32.ge_s
- (local.get $x)
- (local.get $y)
+ (i32.sub
+ (local.get $x)
+ (local.get $y)
+ )
+ (i32.const 0)
)
)
(drop
@@ -4808,14 +4814,20 @@
)
(drop
(i32.lt_s
- (local.get $x)
- (local.get $y)
+ (i32.sub
+ (local.get $x)
+ (local.get $y)
+ )
+ (i32.const 0)
)
)
(drop
(i32.le_s
- (local.get $x)
- (local.get $y)
+ (i32.sub
+ (local.get $x)
+ (local.get $y)
+ )
+ (i32.const 0)
)
)
(drop