[YulOpt] declare SSA var when control flow joins

This commit is contained in:
mingchuan
2019-09-17 13:22:02 +02:00
committed by chriseth
parent 5859a69c44
commit 520a3ccfff
17 changed files with 323 additions and 54 deletions
@@ -12,13 +12,15 @@
// {
// function f(a, b) -> c, d
// {
// let b_1 := add(b, a)
// let b_5 := b
// let a_6 := a
// let b_1 := add(b_5, a_6)
// b := b_1
// let c_2 := add(c, b_1)
// c := c_2
// let d_3 := add(d, c_2)
// d := d_3
// let a_4 := add(a, d_3)
// let a_4 := add(a_6, d_3)
// a := a_4
// }
// }