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

17 lines
368 B
Plaintext
Raw Normal View History

2019-03-14 15:30:11 +00:00
{
let a := shl(299, calldataload(0))
let b := shr(299, calldataload(1))
let c := shl(255, calldataload(2))
let d := shr(255, calldataload(3))
}
// ====
// EVMVersion: >=constantinople
2019-03-14 15:30:11 +00:00
// step: expressionSimplifier
// ----
// {
// let a := 0
// let b := 0
// let c := shl(255, calldataload(2))
// let d := shr(255, calldataload(3))
// }