solidity/test/libyul/yulOptimizerTests/ssaPlusCleanup/multi_reassign_with_use.yul

19 lines
309 B
Plaintext
Raw Normal View History

2018-10-23 13:55:48 +00:00
{
let a := 1
a := add(a, 2)
a := add(a, 3)
a := mload(add(a, 4))
mstore(0, a)
}
2019-04-01 14:33:46 +00:00
// ====
// step: ssaPlusCleanup
2018-10-23 13:55:48 +00:00
// ----
// {
// let a_1 := 1
// let a := a_1
// let a_2 := add(a_1, 2)
// let a_3 := add(a_2, 3)
// let a_4 := mload(add(a_3, 4))
// mstore(0, a_4)
// }