summaryrefslogtreecommitdiff
path: root/test/min.fromasm.imprecise
diff options
context:
space:
mode:
Diffstat (limited to 'test/min.fromasm.imprecise')
-rw-r--r--test/min.fromasm.imprecise7
1 files changed, 5 insertions, 2 deletions
diff --git a/test/min.fromasm.imprecise b/test/min.fromasm.imprecise
index 444551428..85ab1cc04 100644
--- a/test/min.fromasm.imprecise
+++ b/test/min.fromasm.imprecise
@@ -26,14 +26,17 @@
)
)
(func $legalstub$neg (; 3 ;) (param $0 i32) (param $1 i32) (result f64)
+ (local $2 i32)
(i32.store
- (get_local $0)
+ (tee_local $2
+ (get_local $0)
+ )
(get_local $1)
)
(f64.promote/f32
(f32.neg
(f32.load
- (get_local $0)
+ (get_local $2)
)
)
)