solidity/test/libyul/yulOptimizerTests/fullSuite/shift_signextend.yul

16 lines
244 B
Plaintext
Raw Normal View History

2021-08-12 13:29:53 +00:00
{
let x := calldataload(0)
let a := shl(sub(256, 8), signextend(0, x))
sstore(0, a)
}
// ====
// EVMVersion: >=constantinople
// ----
// step: fullSuite
//
// {
// {
// sstore(0, shl(248, calldataload(0)))
// }
// }