diff options
author | Alon Zakai <alonzakai@gmail.com> | 2019-04-16 10:00:19 -0700 |
---|---|---|
committer | GitHub <noreply@github.com> | 2019-04-16 10:00:19 -0700 |
commit | 324238cc44e51c65637d29a938c435248d384154 (patch) | |
tree | fcd7a35442c720385ff5746a3de83a7123e04be8 /test/passes/local-cse.txt | |
parent | cb2d63586c08a3dd194d2b733ceb3f5051c081f8 (diff) | |
download | binaryen-324238cc44e51c65637d29a938c435248d384154.tar.gz binaryen-324238cc44e51c65637d29a938c435248d384154.tar.bz2 binaryen-324238cc44e51c65637d29a938c435248d384154.zip |
Verify flat IR where it is expected, and give a nice error (#2009)
Fixes #2007 #2008
Diffstat (limited to 'test/passes/local-cse.txt')
-rw-r--r-- | test/passes/local-cse.txt | 37 |
1 files changed, 0 insertions, 37 deletions
diff --git a/test/passes/local-cse.txt b/test/passes/local-cse.txt deleted file mode 100644 index 286f29e7c..000000000 --- a/test/passes/local-cse.txt +++ /dev/null @@ -1,37 +0,0 @@ -(module - (type $0 (func (result i64))) - (type $1 (func)) - (global $glob (mut i32) (i32.const 1)) - (func $i64-shifts (; 0 ;) (type $0) (result i64) - (local $temp i64) - (local.set $temp - (i64.add - (i64.const 1) - (i64.const 2) - ) - ) - (local.set $temp - (i64.const 9999) - ) - (local.set $temp - (i64.add - (i64.const 1) - (i64.const 2) - ) - ) - (local.get $temp) - ) - (func $global (; 1 ;) (type $1) - (local $x i32) - (local $y i32) - (local.set $x - (global.get $glob) - ) - (local.set $y - (local.get $x) - ) - (local.set $y - (local.get $x) - ) - ) -) |