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

10 lines
158 B
Plaintext

{
switch calldataload(0) case 2 { mstore(0, 0) }
}
// ====
// step: structuralSimplifier
// ----
// {
// if eq(2, calldataload(0)) { mstore(0, 0) }
// }