solidity/test/libyul/yulOptimizerTests/ssaAndBack/two_vars.yul
Daniel Kirchner 10618188dd Update tests.
2021-11-09 14:34:05 +01:00

24 lines
420 B
Plaintext

{
let a := mload(0)
let b := mload(a)
a := mload(b)
b := mload(a)
a := mload(b)
b := mload(a)
mstore(a, b)
}
// ----
// step: ssaAndBack
//
// {
// {
// let a_1 := mload(0)
// let b_2 := mload(a_1)
// let a_3 := mload(b_2)
// let b_4 := mload(a_3)
// let a_5 := mload(b_4)
// let b_6 := mload(a_5)
// mstore(a_5, b_6)
// }
// }