solidity/test/libyul/yulOptimizerTests/valueConstraintBasedSimplifier/lt_bits_combined.yul
2019-03-25 15:32:54 +01:00

19 lines
322 B
Plaintext

{
let x := and(callvalue(), 0xff)
if lt(x, 0x100) { sstore(0, 1) }
if lt(x, 0xff) { sstore(0, 1) }
}
// ----
// valueConstraintBasedSimplifier
// {
// let x := and(callvalue(), 0xff)
// if 1
// {
// sstore(0, 1)
// }
// if lt(x, 0xff)
// {
// sstore(0, 1)
// }
// }