summaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
authorAlon Zakai <alonzakai@gmail.com>2016-05-17 17:06:56 -0700
committerAlon Zakai <alonzakai@gmail.com>2016-05-17 17:06:56 -0700
commit3f137abe061fd060b2c9bbffcb8796144ecbada9 (patch)
treefe9e2f3a38d938ae1bd3d8831fb4334e4a12753f /test
parent7dc410d13171219af8903480539d393979d75b8b (diff)
parent0231f518d830c31545448e515b515eb5bba5ab4d (diff)
downloadbinaryen-3f137abe061fd060b2c9bbffcb8796144ecbada9.tar.gz
binaryen-3f137abe061fd060b2c9bbffcb8796144ecbada9.tar.bz2
binaryen-3f137abe061fd060b2c9bbffcb8796144ecbada9.zip
Merge pull request #518 from WebAssembly/true-learning
Activate true learning in local coalescing
Diffstat (limited to 'test')
-rw-r--r--test/passes/coalesce-locals-learning.txt36
1 files changed, 18 insertions, 18 deletions
diff --git a/test/passes/coalesce-locals-learning.txt b/test/passes/coalesce-locals-learning.txt
index 03e58347a..14091cb98 100644
--- a/test/passes/coalesce-locals-learning.txt
+++ b/test/passes/coalesce-locals-learning.txt
@@ -440,71 +440,71 @@
(if
(i32.const 2)
(block $block3
- (set_local $1
+ (set_local $0
(i32.const 100)
)
- (set_local $0
+ (set_local $1
(i32.const 101)
)
- (get_local $1)
(get_local $0)
+ (get_local $1)
)
(block $block5
- (set_local $1
+ (set_local $0
(i32.const 102)
)
- (set_local $0
+ (set_local $1
(i32.const 103)
)
- (get_local $1)
(get_local $0)
+ (get_local $1)
)
)
(if
(i32.const 3)
(block $block8
- (set_local $1
+ (set_local $0
(i32.const 104)
)
- (set_local $0
+ (set_local $1
(i32.const 105)
)
- (get_local $1)
(get_local $0)
+ (get_local $1)
)
(block $block10
- (set_local $1
+ (set_local $0
(i32.const 106)
)
- (set_local $0
+ (set_local $1
(i32.const 107)
)
- (get_local $1)
(get_local $0)
+ (get_local $1)
)
)
)
(if
(i32.const 4)
(block $block13
- (set_local $1
+ (set_local $0
(i32.const 108)
)
- (set_local $0
+ (set_local $1
(i32.const 109)
)
- (get_local $1)
(get_local $0)
+ (get_local $1)
)
(block $block15
- (set_local $1
+ (set_local $0
(i32.const 110)
)
- (set_local $0
+ (set_local $1
(i32.const 111)
)
- (get_local $1)
(get_local $0)
+ (get_local $1)
)
)
)