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

28 lines
446 B
Plaintext

{
let a := mload(0)
switch mload(1)
case 0 {
a := mload(1)
a := mload(2)
a := mload(3)
}
default {
a := mload(4)
a := mload(5)
a := mload(6)
}
mstore(a, 0)
}
// ----
// step: ssaAndBack
//
// {
// {
// let a := mload(0)
// switch mload(1)
// case 0 { a := mload(3) }
// default { a := mload(6) }
// mstore(a, 0)
// }
// }