diff options
author | Alon Zakai <azakai@google.com> | 2023-10-23 12:31:10 -0700 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-10-23 12:31:10 -0700 |
commit | 2134d9a32b89b5b30121956bbfb070b8c9ee2bd5 (patch) | |
tree | 02644ac9a217b472420d119ab9f937ed845417c1 /test/lit/passes/O3_inline-functions-with-loops_flexible-inline-max-function-size=30.wast | |
parent | 68ff52b278acb95201967709640733a05d6a683a (diff) | |
download | binaryen-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.wast | 7 |
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) |