diff options
author | Alon Zakai <alonzakai@gmail.com> | 2016-04-25 17:27:11 -0700 |
---|---|---|
committer | Alon Zakai <alonzakai@gmail.com> | 2016-04-25 17:27:11 -0700 |
commit | cb35ee67868bdc2b8839766b7e10b65e8fcc122a (patch) | |
tree | fe42733df528358ac059121b73929e4db52e18cd /test/min.fromasm.imprecise | |
parent | 27ef6de772ca90824018819b91b8a230136f56c3 (diff) | |
parent | 8a68b4e6506e66312d75c3cff8aa0b36563548e3 (diff) | |
download | binaryen-cb35ee67868bdc2b8839766b7e10b65e8fcc122a.tar.gz binaryen-cb35ee67868bdc2b8839766b7e10b65e8fcc122a.tar.bz2 binaryen-cb35ee67868bdc2b8839766b7e10b65e8fcc122a.zip |
Merge pull request #394 from WebAssembly/more-br-opts
More control flow optimization
Diffstat (limited to 'test/min.fromasm.imprecise')
-rw-r--r-- | test/min.fromasm.imprecise | 32 |
1 files changed, 13 insertions, 19 deletions
diff --git a/test/min.fromasm.imprecise b/test/min.fromasm.imprecise index 26501d4a5..6deb6ae67 100644 --- a/test/min.fromasm.imprecise +++ b/test/min.fromasm.imprecise @@ -4,24 +4,20 @@ (export "floats" $floats) (func $floats (param $f f32) (result f32) (local $t f32) - (return - (f32.add - (get_local $t) - (get_local $f) - ) + (f32.add + (get_local $t) + (get_local $f) ) ) (func $neg (param $k i32) (param $p i32) (result f32) - (return - (f32.neg - (block - (i32.store - (get_local $k) - (get_local $p) - ) - (f32.load - (get_local $k) - ) + (f32.neg + (block + (i32.store + (get_local $k) + (get_local $p) + ) + (f32.load + (get_local $k) ) ) ) @@ -40,10 +36,8 @@ ) ) (func $ctzzzz (result i32) - (return - (i32.ctz - (i32.const 4660) - ) + (i32.ctz + (i32.const 4660) ) ) ) |