solidity/test/libyul/yulOptimizerTests/fullSimplify/signextend.yul

16 lines
267 B
Plaintext
Raw Normal View History

{
let x := 7
mstore(0, signextend(50, x))
let y := 255
mstore(1, signextend(0, y))
}
// ----
// step: fullSimplify
//
// {
2021-11-09 12:25:25 +00:00
// {
// mstore(0, 7)
// mstore(1, 0xffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff)
// }
// }