solidity/test/libyul/yulOptimizerTests/fullSimplify/signextend.yul
Daniel Kirchner 10618188dd Update tests.
2021-11-09 14:34:05 +01:00

16 lines
267 B
Plaintext

{
let x := 7
mstore(0, signextend(50, x))
let y := 255
mstore(1, signextend(0, y))
}
// ----
// step: fullSimplify
//
// {
// {
// mstore(0, 7)
// mstore(1, 0xffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff)
// }
// }