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

22 lines
325 B
Plaintext
Raw Normal View History

{
let a := mload(0)
switch mload(1)
case 0 {
a := mload(1)
}
default {
a := mload(2)
}
mstore(a, 0)
}
2019-04-01 14:33:46 +00:00
// ====
// step: ssaAndBack
// ----
// {
// let a := mload(0)
// switch mload(1)
// case 0 { a := mload(1) }
// default { a := mload(2) }
// mstore(a, 0)
// }