solidity/test/libyul/yulOptimizerTests/rematerialiser/large_constant.yul

13 lines
253 B
Plaintext
Raw Normal View History

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