solidity/test/libyul/yulOptimizerTests/controlFlowSimplifier/switch_to_if.yul

10 lines
159 B
Plaintext
Raw Normal View History

{
switch calldataload(0) case 2 { mstore(0, 0) }
}
2019-04-01 14:33:46 +00:00
// ====
2019-05-09 20:01:18 +00:00
// step: controlFlowSimplifier
// ----
// {
// if eq(2, calldataload(0)) { mstore(0, 0) }
// }