solidity/test/libyul/yulOptimizerTests/ssaAndBack/two_vars.yul

24 lines
420 B
Plaintext
Raw Normal View History

{
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
//
// {
2021-11-09 12:25:25 +00:00
// {
// 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)
// }
// }