solidity/test/libyul/yulOptimizerTests/expressionSimplifier/combine_shift_and_and.yul

16 lines
316 B
Plaintext
Raw Normal View History

{
let x := calldataload(0)
let a := and(0xff, shr(248, shl(248, shr(248, x))))
let b := shr(12, shl(8, and(x, 0xf0f0)))
}
// ====
// EVMVersion: >byzantium
// ----
// step: expressionSimplifier
//
// {
// let x := calldataload(0)
// let a := shr(248, x)
// let b := and(shr(4, x), 3855)
// }