solidity/test/libyul/yulOptimizerTests/rematerialiser/large_constant.yul
2019-04-03 14:58:20 +02:00

14 lines
267 B
Plaintext

{
// Constants cost depending on their magnitude.
// Do not rematerialize large constants.
let a := 0xffffffffffffffffffffff
mstore(a, a)
}
// ====
// step: rematerialiser
// ----
// {
// let a := 0xffffffffffffffffffffff
// mstore(a, a)
// }