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

14 lines
246 B
Plaintext
Raw Normal View History

{
let x := 7
mstore(0, signextend(50, x))
let y := 255
mstore(1, signextend(0, y))
}
2019-04-01 14:33:46 +00:00
// ====
// step: fullSimplify
// ----
// {
// mstore(0, 7)
// mstore(1, 0xffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff)
// }