summaryrefslogtreecommitdiff
path: root/test/lit/passes/O3_inline-functions-with-loops_flexible-inline-max-function-size=30.wast
diff options
context:
space:
mode:
authorAlon Zakai <azakai@google.com>2023-10-23 12:31:10 -0700
committerGitHub <noreply@github.com>2023-10-23 12:31:10 -0700
commit2134d9a32b89b5b30121956bbfb070b8c9ee2bd5 (patch)
tree02644ac9a217b472420d119ab9f937ed845417c1 /test/lit/passes/O3_inline-functions-with-loops_flexible-inline-max-function-size=30.wast
parent68ff52b278acb95201967709640733a05d6a683a (diff)
downloadbinaryen-2134d9a32b89b5b30121956bbfb070b8c9ee2bd5.tar.gz
binaryen-2134d9a32b89b5b30121956bbfb070b8c9ee2bd5.tar.bz2
binaryen-2134d9a32b89b5b30121956bbfb070b8c9ee2bd5.zip
Partially revert #6026 (#6043)
That optimization uncovered some LLVM and Binaryen bugs.
Diffstat (limited to 'test/lit/passes/O3_inline-functions-with-loops_flexible-inline-max-function-size=30.wast')
-rw-r--r--test/lit/passes/O3_inline-functions-with-loops_flexible-inline-max-function-size=30.wast7
1 files changed, 6 insertions, 1 deletions
diff --git a/test/lit/passes/O3_inline-functions-with-loops_flexible-inline-max-function-size=30.wast b/test/lit/passes/O3_inline-functions-with-loops_flexible-inline-max-function-size=30.wast
index 907891aee..e0045579d 100644
--- a/test/lit/passes/O3_inline-functions-with-loops_flexible-inline-max-function-size=30.wast
+++ b/test/lit/passes/O3_inline-functions-with-loops_flexible-inline-max-function-size=30.wast
@@ -18,7 +18,7 @@
;; CHECK: (export "t1" (func $t1))
- ;; CHECK: (export "t2" (func $fib))
+ ;; CHECK: (export "t2" (func $t2))
;; CHECK: (export "t3" (func $t3))
@@ -155,6 +155,11 @@
)
)
)
+ ;; CHECK: (func $t2 (; has Stack IR ;) (param $0 i32) (result i32)
+ ;; CHECK-NEXT: (call $fib
+ ;; CHECK-NEXT: (local.get $0)
+ ;; CHECK-NEXT: )
+ ;; CHECK-NEXT: )
(func $t2 (export "t2") (type $t0) (param $p0 i32) (result i32)
(call $fib
(local.get $p0)