solidity/test/libyul/yulOptimizerTests/fullSuite/ssaReverseComplex.yul

27 lines
443 B
Plaintext
Raw Normal View History

{
let a := mload(0)
let b := mload(1)
if mload(2) {
a := mload(b)
b := mload(a)
a := mload(b)
b := mload(a)
}
mstore(a, b)
}
2019-04-01 14:33:46 +00:00
// ====
// step: fullSuite
// ----
// {
// {
// let a := mload(0)
// let b := mload(1)
// if mload(2)
// {
// a := mload(mload(mload(b)))
// b := mload(a)
// }
// mstore(a, b)
// }
// }